dev-python/sortedcontainers: [QA] Replace external 'cut' call
authorMichał Górny <mgorny@gentoo.org>
Mon, 28 Aug 2017 17:49:44 +0000 (19:49 +0200)
committerMichał Górny <mgorny@gentoo.org>
Mon, 28 Aug 2017 18:20:20 +0000 (20:20 +0200)
dev-python/sortedcontainers/sortedcontainers-1.5.7.ebuild

index 8216ed2c345702ab35dc7925cf83129c8b82f9c7..0775fb5524be01d24c892686a0b7427cd3f1c618 100644 (file)
@@ -9,7 +9,7 @@ inherit distutils-r1
 
 DESCRIPTION="Python library to sort collections and containers"
 HOMEPAGE="http://www.grantjenks.com/docs/sortedcontainers/"
-SRC_URI="mirror://pypi/$(echo ${PN} | cut -c 1)/${PN}/${P}.tar.gz"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"