diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-10-18 18:06:57 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-10-18 18:39:33 +0200 |
commit | 2c2d95d87fa880e5f668140d4547cefded9b8ca5 (patch) | |
tree | d5861b9e95d8a0db89d817f2c28fe1856056343a | |
parent | dev-python/CommonMark: Fix ebuild code style (diff) | |
download | gentoo-2c2d95d87fa880e5f668140d4547cefded9b8ca5.tar.gz gentoo-2c2d95d87fa880e5f668140d4547cefded9b8ca5.tar.bz2 gentoo-2c2d95d87fa880e5f668140d4547cefded9b8ca5.zip |
dev-python/CommonMark: Update for incoming rename
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | dev-python/CommonMark/CommonMark-0.5.4.ebuild | 6 | ||||
-rw-r--r-- | dev-python/CommonMark/CommonMark-0.7.5.ebuild | 6 |
2 files changed, 10 insertions, 2 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 diff --git a/dev-python/CommonMark/CommonMark-0.7.5.ebuild b/dev-python/CommonMark/CommonMark-0.7.5.ebuild index d2109b61a488..52faefc635f9 100644 --- a/dev-python/CommonMark/CommonMark-0.7.5.ebuild +++ b/dev-python/CommonMark/CommonMark-0.7.5.ebuild @@ -6,9 +6,11 @@ PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} ) 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" @@ -25,6 +27,8 @@ DEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}] " +S=${WORKDIR}/${MY_P} + python_test() { PYTHONIOENCODING='utf8' \ esetup.py test |