summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/CommonMark/CommonMark-0.5.4.ebuild')
-rw-r--r--dev-python/CommonMark/CommonMark-0.5.4.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-python/CommonMark/CommonMark-0.5.4.ebuild b/dev-python/CommonMark/CommonMark-0.5.4.ebuild
index f686d655b296..630fd63052eb 100644
--- a/dev-python/CommonMark/CommonMark-0.5.4.ebuild
+++ b/dev-python/CommonMark/CommonMark-0.5.4.ebuild
@@ -6,9 +6,11 @@ PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
inherit distutils-r1
+MY_PN=CommonMark
+MY_P=${MY_PN}-${PV}
DESCRIPTION="Python parser for the CommonMark Markdown spec"
HOMEPAGE="https://github.com/rtfd/CommonMark-py"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
@@ -23,6 +25,8 @@ DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
"
+S=${WORKDIR}/${MY_P}
+
# unrestrict for versions >= 0.7.2
RESTRICT=test