commit: ef87f734ad1a9d4d572f7cc5b86b0a60917e040c Author: Slawomir Lis <slis <AT> gentoo <DOT> org> AuthorDate: Fri Aug 16 05:20:12 2019 +0000 Commit: Slawek Lis <slis <AT> gentoo <DOT> org> CommitDate: Fri Aug 16 05:21:37 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef87f734
dev-python/URLObject: version bump to 2.4.3 Package-Manager: Portage-2.3.71, Repoman-2.3.16 Signed-off-by: Slawek Lis <slis <AT> gentoo.org> dev-python/URLObject/Manifest | 1 + dev-python/URLObject/URLObject-2.4.3.ebuild | 33 +++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/dev-python/URLObject/Manifest b/dev-python/URLObject/Manifest index 5be5b9abc21..90202edec64 100644 --- a/dev-python/URLObject/Manifest +++ b/dev-python/URLObject/Manifest @@ -1,2 +1,3 @@ DIST URLObject-2.4.0.tar.gz 12533 BLAKE2B e5fcd97267ef66124074ddc830c547df5bad026c17139301b0917bdc43d4f5382ec06d8c752cb38f8c53cdb77513a78efeb14241d419476fd291f38bd22de912 SHA512 1334c8d8dbb93f50fb6672ae5c2e1dbb8c880af65c18c96c7bc65bb46ae894ab0696d36236036c1e4434a6e75b692ecd0b37055ef9b55fb50ffbaf13197b1701 DIST urlobject-2.4.2.tar.gz 25457 BLAKE2B c5d3ed0f38b3fd58ac52638059497cc53347bb378d737f87f2fadf43368ced9450cea0147c49a7cee5b29b4805bebbd22817910d922813882aee5b7f467dd653 SHA512 970c5900171fa64624cd2ed2ba7f3a761057eda5c1fc07f881e8b7c74bde0cbbb7fc6c7c8694d8b8be0e991322da148528d99ff6fb2d4b75e1ddd1c2f474b4f3 +DIST urlobject-2.4.3.tar.gz 26325 BLAKE2B 6c73bab1768d8676ccd7411175877a17a8b64e2498345443bfd8e28873c1ba9aacf158cfcac739d8ae1abf7d7845bc5fa5f478441d6d99530a9395b236b118f0 SHA512 2bd08ba5695c8277eeed154d7f414939e8b471e83f1fc6b9db93931f8e49dea4583036b0b7fb8d820e0b214bdc4bf2fe78987eb6a5c63ba70611aea6365c2972 diff --git a/dev-python/URLObject/URLObject-2.4.3.ebuild b/dev-python/URLObject/URLObject-2.4.3.ebuild new file mode 100644 index 00000000000..b628b00bb78 --- /dev/null +++ b/dev-python/URLObject/URLObject-2.4.3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_5,3_6} ) + +inherit distutils-r1 + +GITHUB_P=${P,,} +DESCRIPTION="A utility class for manipulating URLs" +HOMEPAGE="https://pypi.org/project/URLObject/" +# note: pypi tarball lacks tests +# https://github.com/zacharyvoase/urlobject/issues/39 +SRC_URI="https://github.com/zacharyvoase/urlobject/archive/v${PV}.tar.gz -> ${GITHUB_P}.tar.gz" + +LICENSE="BSD" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="test" + +RDEPEND="" +DEPEND=" + ${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/nose[${PYTHON_USEDEP}] ) +" + +S=${WORKDIR}/${GITHUB_P} + +python_test() { + nosetests -v || die "Tests fail with ${EPYTHON}" +}