diff options
Diffstat (limited to 'dev-python/polib')
-rw-r--r-- | dev-python/polib/Manifest | 4 | ||||
-rw-r--r-- | dev-python/polib/polib-1.1.0.ebuild (renamed from dev-python/polib/polib-1.0.4.ebuild) | 24 |
2 files changed, 11 insertions, 17 deletions
diff --git a/dev-python/polib/Manifest b/dev-python/polib/Manifest index efeb1512191a..dcbd2974bd27 100644 --- a/dev-python/polib/Manifest +++ b/dev-python/polib/Manifest @@ -1,5 +1,5 @@ -DIST polib-1.0.4.tar.gz 151634 BLAKE2B d0f28ae50e1c082f695867da2b65721d161b9df56b4978feda59388b20fee3c3a060438aac0f1f08420d5133d1b5425715a3c0cb00dffe0e7515d642e287d2cf SHA512 a38d57acdaded0371be83825a28f14f178aebdbc0435724f33eebda109adb2b8210e33659ebec88d2d9e98aa60c482d7f8a958ec18f6769fda7a2fb14edd2744 DIST polib-1.0.7.tar.gz 156282 BLAKE2B 4d4a9f9901fe7b7b7aa5fc54b9391e051b8d02d1749752e1c9a563d9285670db5d43d7c5015fe266f78c89d1ff7a334bd2afe2d7d8b68fb376df35f8902cb0ed SHA512 bfec3538f9ab499ff2149bb40e0685b4cb6d5f0bc7ce8dc33e1fc511a6169e01c1a317e652daed7b3bfd9bbfe6ee1d545b4d8913f54e91504c4debb5b1b94b6e -EBUILD polib-1.0.4.ebuild 754 BLAKE2B e21ccda996b866c4e4aaa37aa6290ffc897a6910b2c9cb3d7415b6aa3c4316f7a04449ac0f7617eaef6e32a02f1c6cd9b74c8f2adf0817e145ee0807e9c5fe62 SHA512 7ed72366cc0bd3b039bf9492143c9627ff9213e86473f7e98004d9f0aa4869cc36d939678ea30fe83206b1b5c19e1df6441d4bdf34bf7958c638d5225fc5e3ee +DIST polib-1.1.0.tar.gz 158484 BLAKE2B 41766f00e3928eacf3c98406b6acce224f0d0cb44d79326c834db900ed8b91181911ab7e26845a737057dd07c067a784d0b06278952708c17888db42d8c1e303 SHA512 74681585b4d7252e107acd7d73f49f7e91c90adcd180722d39d35c40ec158434798af0124a16788cf564c73b84f52a040aefeb58355a1a3cd85848c3f6a5e67f EBUILD polib-1.0.7.ebuild 797 BLAKE2B 5c1255e810ff817496ffc262b5ea04299321c93f9ff9950b47cd8d499774818ab6d916efbb276c57752a54754982a36ff2c77c4597c081ad682e6bcac083a92a SHA512 3a14e043159afbd6ed30ea9977309245186f2a627e2cd237feaa2e16a7faf40e6df867a4beb1ec278adb3065725eaa6ed3d30e7d95ab031be274bfb5691b28f4 +EBUILD polib-1.1.0.ebuild 804 BLAKE2B 7aedd95662300cd84d57fdc9a73d8450f050d317c32f0a2609cb839b1deec34ad66a48d691ae9d500500202f0e9aa48b375ca48d771af882ad931100c27be2e3 SHA512 534bbd3cb3243ad54fd81110786223447cb0f547ffae94e4b8e2a1f810bd4db00d7a02ee4c14cd6a128cdc11e6a9186c2651d13216707f4079635ee5a50d5870 MISC metadata.xml 388 BLAKE2B 49be94fcd86aefe8e2c4ab2035478b470236492908f7d08822a4e035277c83d557f78076d72cd96d6320ec08276c629dcd52d04380518cf694c10ebdee0bce16 SHA512 7afe518c98f3cbb71d13aa4cea16fe59eae8f711a1d1dd58c982c1dd8946b0a69196e0979612c995d53be215148d05615226eecc4be457adf8cd35b96f3f3f57 diff --git a/dev-python/polib/polib-1.0.4.ebuild b/dev-python/polib/polib-1.1.0.ebuild index dd0fc2c7f091..ae58824f7b11 100644 --- a/dev-python/polib/polib-1.0.4.ebuild +++ b/dev-python/polib/polib-1.1.0.ebuild @@ -1,38 +1,32 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -PYTHON_COMPAT=( python{2_7,3_4} ) +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) inherit distutils-r1 DESCRIPTION="A library to manipulate gettext files (.po and .mo files)" HOMEPAGE="https://bitbucket.org/izi/polib/wiki/Home" -SRC_URI="https://www.bitbucket.org/izi/polib/downloads/${P}.tar.gz" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="doc" -RDEPEND="" -DEPEND="${RDEPEND} - doc? ( dev-python/sphinx ) -" +DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" python_compile_all() { - if use doc; then - cd docs || die - emake html - fi + use doc && emake -C docs html } python_test() { - python tests/tests.py || die + "${PYTHON}" tests/tests.py || die "Tests failed under ${EPYTHON}" } python_install_all() { - local DOCS="CHANGELOG README.rst" + local DOCS=( CHANGELOG README.rst ) use doc && local HTML_DOCS=( docs/_build/html/. ) distutils-r1_python_install_all } |