-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-lang/hy and dev-python/astor version bump
astor has a dependency on old versions of setuptools see berkerpeksag/astor#162
- Loading branch information
Showing
5 changed files
with
80 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Copyright 1999-2018 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI="7" | ||
|
||
RESTRICT="test" # needs some pointy sticks. Seriously. | ||
PYTHON_COMPAT=( pypy3 python{2_7,3_5,3_6,3_7} ) | ||
|
||
inherit distutils-r1 eutils | ||
DESCRIPTION="A LISP dialect running in python" | ||
HOMEPAGE="http://hylang.org/" | ||
SRC_URI="https://github.com/hylang/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" | ||
LICENSE="MIT" | ||
SLOT="0" | ||
|
||
KEYWORDS="~amd64 ~x86" | ||
IUSE="test doc" | ||
|
||
RDEPEND=">=dev-python/astor-0.8[${PYTHON_USEDEP}] | ||
>=dev-python/clint-0.4[${PYTHON_USEDEP}] | ||
dev-python/colorama[${PYTHON_USEDEP}] | ||
dev-python/flake8[${PYTHON_USEDEP}] | ||
>=dev-python/funcparserlib-0.3.6[${PYTHON_USEDEP}] | ||
>=dev-python/rply-0.7.7[${PYTHON_USEDEP}] | ||
" | ||
DEPEND="${RDEPEND} | ||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) | ||
test? ( | ||
dev-python/nose[${PYTHON_USEDEP}] | ||
dev-python/sphinx[${PYTHON_USEDEP}] | ||
)" | ||
|
||
PATCHES=( "${FILESDIR}"/${PN}-0.15.0-do-not-install-get_version.py.patch ) | ||
|
||
src_prepare() { | ||
default | ||
use doc && HTML_DOCS=( docs/_build/html/. ) | ||
} | ||
|
||
python_compile_all() { | ||
use doc && emake docs | ||
} | ||
|
||
python_test() { | ||
nosetests -vv || die "Tests failed under ${EPYTHON}" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
DIST astor-0.7.1.tar.gz 30633 BLAKE2B fbffcbe9cb372c82741788624674c4397c3534eb2b3f44577174279c38d0c45366b444dab1384a251a74ca87840ce150ab1ce3f0439987ba2a19adca270af74f SHA512 c52fa0b8ec5003c04d978c23361d423283a43be2c027d8d39ce1c45528dbbedb98b2a269ce97152bd9a4c942d95a6ec55720757b7811df4f34bb6744e2fff781 | ||
EBUILD astor-0.7.1.ebuild 713 BLAKE2B 68f206d26f0239a57fb7ccdbdc1a5a6ac6ae0d441664c39b6f857c5a76f75e69d13fb0327d782922a8e618375b1388c18505b7f60afdf98e5a0c86eee2b4b49e SHA512 2878b056ddb0d402bcb0758b4cab0a2efbb6c23697c11ed5d3d2ab1835f6fc10bde3c89f28c05c72a03c6a313a00d49445e38afa14b5395720872b5adf9f019e | ||
DIST astor-0.8.0.tar.gz 35005 BLAKE2B a1a57b91e197b498affe436c8656498205a09aeed5b4912780f95f58bac8b1d7df5a0cc2fcaf7965e1045ff5c59f00935df93a8e3ef5cf35a5529aae4ab410c3 SHA512 df7aace90ae018aae4ff57ff36178e0b7adea00535f43faf650982d12cf0fa2fe5edbdc3c52597d087fa22aea9f7eb08d0fb93520b9d786727cefc0a0007dac8 | ||
EBUILD astor-0.7.1.ebuild 721 BLAKE2B f4066a10e95f23ce9da67d5dfcc0faab9d13d86306249dc9e656543e64aa9145f63448bfb1a775e8888894ed0508048485dfd306104e635b145be860aecb3f1f SHA512 a9a9a4d0686ab56d3ae3162ce02b32552c28858bd80384c8b00804551b7e7e99773ef4bf3ae5317b97be7850b4fd3d0ac177020cabe78606ab00f07a560268dc | ||
EBUILD astor-0.8.0.ebuild 721 BLAKE2B 4197ee31ba402c5a7e7be225928448d2444045e5624696136db12c5daaff72fe0bcc2ee40b4f2c13bfa2dc1c884ab75844cabf2875d91992fb4366ff0dad5580 SHA512 b545aa7d49947422e7ab8569428ecb1537461d7732abc27137e20d5814be3eb150c5652951a8b7475aaa67fd8c0416aa99a8f4e73ea1afb85aa9fca7fffa8927 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Copyright 1999-2018 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=6 | ||
PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} pypy{,3} ) | ||
|
||
inherit distutils-r1 | ||
|
||
DESCRIPTION="Read/rewrite/write Python ASTs" | ||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" | ||
HOMEPAGE="https://pypi.org/project/astor/" | ||
|
||
LICENSE="BSD" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
IUSE="" | ||
|
||
DEPEND="<dev-python/setuptools-41.4.0[${PYTHON_USEDEP}]" | ||
|
||
python_prepare_all() { | ||
#avoid file collisions picked up by the eclass | ||
sed -e s":find_packages():find_packages(exclude=['tests']):" -i setup.py || die | ||
distutils-r1_python_prepare_all | ||
} | ||
python_test() { | ||
"${PYTHON}" -m unittest discover || die "tests failed under ${EPYTHON}" | ||
} |