diff options
Diffstat (limited to 'dev-python/jaraco-functools')
-rw-r--r-- | dev-python/jaraco-functools/Manifest | 4 | ||||
-rw-r--r-- | dev-python/jaraco-functools/jaraco-functools-1.19.ebuild (renamed from dev-python/jaraco-functools/jaraco-functools-1.13.ebuild) | 25 |
2 files changed, 18 insertions, 11 deletions
diff --git a/dev-python/jaraco-functools/Manifest b/dev-python/jaraco-functools/Manifest index 8e223ee8b59c..32e8fef1e180 100644 --- a/dev-python/jaraco-functools/Manifest +++ b/dev-python/jaraco-functools/Manifest @@ -1,5 +1,5 @@ -DIST jaraco.functools-1.13.tar.gz 9026 BLAKE2B 0c9bdf76bf6963f5844b44afb5dd1eb86da393568794523676e33d528e38c8aef60537e34c82a2082bb232a60cbb1e8a1c08433f9115d1cc57ec6ae6d3c38631 SHA512 fb73a69811026562e1f8195960956a90757700ce13dbc00feb0ef97cf5f3c35f0334bcd7d5529ddab7c7524899bbcc6e264266a4cfe23056b50cd7a3cd9e896b DIST jaraco.functools-1.15.1.tar.gz 8744 BLAKE2B 191e37d977256fe92158cb2057af42a62f86a866428719fddc8ef6487f55c6ca6403e9dc41c8bb4370752182653574f9d9ddba15878f76c48fb176de6b25667f SHA512 0b65bc36a2338775d4879dd7502b50b930a12458512061ceba65ada86df2658f4fcce4a4e523580239b302a34a8bf90adcfdeaf8f0b2169d704a3a74457424bb -EBUILD jaraco-functools-1.13.ebuild 1294 BLAKE2B 2355d2327b981f3a63e32b2bbd063e76673926b02843aa12cd64b43011680b3b11a9163282e96e36674261979c16c659c237ba01849af15e9f236f457ba5c0be SHA512 d3cc8243569ab8b5448bdbe0efa71a4ff12d319e84a12afbf4222abb92d33dfa11e2bab65823ab625c2b12973c11d35edd439be9e7f58072d0fb1785667caf1f +DIST jaraco.functools-1.19.tar.gz 10588 BLAKE2B c71eb4e0c611f6a0bd82e04cacb7933961ba5e50091439c274bd8ceeda68b69789423994fe43f44af6cdd643b7a04418bc32ce2f937d118520298a019c5c6638 SHA512 7fbf1956ff8a132021e1f7fae5e98f40199a5d0e705b08b44ad5b2588fdd7d1088db9d7457b985c1852b50285a8f03cc9795fff0c4f53f9155f7c8ec371ff307 EBUILD jaraco-functools-1.15.1.ebuild 1292 BLAKE2B 19650a3ce82b6d31e6f726e0fc2e5a711f726174fcc1fbcdadc4b31bc25333ba7dcc2b3bd4ea94945166b37c029bc7fb51c7bea376f4c367e6288bac1300ab25 SHA512 07e63f108881f4ab7cbaf7be577bc8a10aa27af3abccf6ed878a2a3ef4822f226771b470660ae58ff24934ae9424e387b86e10257255cd2a1a218c7e06e99c82 +EBUILD jaraco-functools-1.19.ebuild 1498 BLAKE2B 6727bfd3036c192a76486a6151c63dfdc62a6936255558092ffecf652078db33a6488fc5f9fccf35c8773077381371dbd7db23f1db68b22f7271698d7ba9e328 SHA512 625b90737209555e1caf80a1d08ba60d19f0ef0bdd43dbea4695ad1ea909087ba52f117fd9c7a7644f42952c4ec67db712e9c2b130f39f03b25aa830c0c85319 MISC metadata.xml 674 BLAKE2B 13f71aa2d5cab8616723a4172fddc638ceb24f5e504277f4f9f157f90d4da39a9c7eb2469c53c0a863635f1d5229f45ce053155622828f3b0233adb870f58ad5 SHA512 8a95c901fb9b53f5a9032a60c0c03e6dd8b11eec14902034b402733b5108f13e6957f8680268b506a5f95a515125c731617bbffd218d61458c9429c9f98cd5d6 diff --git a/dev-python/jaraco-functools/jaraco-functools-1.13.ebuild b/dev-python/jaraco-functools/jaraco-functools-1.19.ebuild index 352cdfac6fdf..a173a04dff4b 100644 --- a/dev-python/jaraco-functools/jaraco-functools-1.13.ebuild +++ b/dev-python/jaraco-functools/jaraco-functools-1.19.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -PYTHON_COMPAT=( python{2_7,3_4,3_5} ) +PYTHON_COMPAT=( pypy3 python{2_7,3_{4,5,6}} ) inherit distutils-r1 @@ -18,8 +18,8 @@ KEYWORDS="~amd64 ~x86" IUSE="doc test" RDEPEND=" + dev-python/namespace-jaraco[${PYTHON_USEDEP}] dev-python/more-itertools[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] $(python_gen_cond_dep 'dev-python/backports-functools-lru-cache[${PYTHON_USEDEP}]' python2_7) " DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] @@ -31,22 +31,29 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] test? ( ${RDEPEND} >=dev-python/pytest-2.8[${PYTHON_USEDEP}] - dev-python/pytest-runner[${PYTHON_USEDEP}] dev-python/backports-unittest-mock[${PYTHON_USEDEP}] + dev-python/jaraco-classes[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] ) " S="${WORKDIR}/${MY_PN}-${PV}" python_compile_all() { - use doc && esetup.py build_sphinx + if use doc; then + cd docs || die + sphinx-build . _build/html || die + HTML_DOCS=( docs/_build/html/. ) + fi } python_test() { - PYTHONPATH=. py.test || die "tests failed with ${EPYTHON}" -} + # Override pytest options to skip flake8 + PYTHONPATH=. py.test --override-ini="addopts=--doctest-modules" \ + || die "tests failed with ${EPYTHON}" + } python_install_all() { - use doc && local HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. ) distutils-r1_python_install_all + find "${ED}" -name '*.pth' -delete || die } |