summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pytty/pytty-0.1.ebuild')
-rw-r--r--dev-python/pytty/pytty-0.1.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-python/pytty/pytty-0.1.ebuild b/dev-python/pytty/pytty-0.1.ebuild
index a2a21d6..a3f06fa 100644
--- a/dev-python/pytty/pytty-0.1.ebuild
+++ b/dev-python/pytty/pytty-0.1.ebuild
@@ -9,11 +9,12 @@ RESTRICT_PYTHON_ABIS="2.[12345]"
inherit distutils
-MY_P="PyTTY-${PV}"
+MY_PN="PyTTY"
+MY_P="${MY_PN}-${PV}"
DESCRIPTION="PyTTY is a pitiful serial access package for Python."
HOMEPAGE="http://pypi.python.org/pypi/PyTTY"
-SRC_URI="http://pypi.python.org/packages/source/P/PyTTY/${MY_P}.tar.gz"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"