Gentoo Archives: gentoo-commits

From: Slawek Lis <slis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/URLObject/
Date: Fri, 16 Aug 2019 05:22:00
Message-Id: 1565932897.ef87f734ad1a9d4d572f7cc5b86b0a60917e040c.slis@gentoo
1 commit: ef87f734ad1a9d4d572f7cc5b86b0a60917e040c
2 Author: Slawomir Lis <slis <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 16 05:20:12 2019 +0000
4 Commit: Slawek Lis <slis <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 16 05:21:37 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef87f734
7
8 dev-python/URLObject: version bump to 2.4.3
9
10 Package-Manager: Portage-2.3.71, Repoman-2.3.16
11 Signed-off-by: Slawek Lis <slis <AT> gentoo.org>
12
13 dev-python/URLObject/Manifest | 1 +
14 dev-python/URLObject/URLObject-2.4.3.ebuild | 33 +++++++++++++++++++++++++++++
15 2 files changed, 34 insertions(+)
16
17 diff --git a/dev-python/URLObject/Manifest b/dev-python/URLObject/Manifest
18 index 5be5b9abc21..90202edec64 100644
19 --- a/dev-python/URLObject/Manifest
20 +++ b/dev-python/URLObject/Manifest
21 @@ -1,2 +1,3 @@
22 DIST URLObject-2.4.0.tar.gz 12533 BLAKE2B e5fcd97267ef66124074ddc830c547df5bad026c17139301b0917bdc43d4f5382ec06d8c752cb38f8c53cdb77513a78efeb14241d419476fd291f38bd22de912 SHA512 1334c8d8dbb93f50fb6672ae5c2e1dbb8c880af65c18c96c7bc65bb46ae894ab0696d36236036c1e4434a6e75b692ecd0b37055ef9b55fb50ffbaf13197b1701
23 DIST urlobject-2.4.2.tar.gz 25457 BLAKE2B c5d3ed0f38b3fd58ac52638059497cc53347bb378d737f87f2fadf43368ced9450cea0147c49a7cee5b29b4805bebbd22817910d922813882aee5b7f467dd653 SHA512 970c5900171fa64624cd2ed2ba7f3a761057eda5c1fc07f881e8b7c74bde0cbbb7fc6c7c8694d8b8be0e991322da148528d99ff6fb2d4b75e1ddd1c2f474b4f3
24 +DIST urlobject-2.4.3.tar.gz 26325 BLAKE2B 6c73bab1768d8676ccd7411175877a17a8b64e2498345443bfd8e28873c1ba9aacf158cfcac739d8ae1abf7d7845bc5fa5f478441d6d99530a9395b236b118f0 SHA512 2bd08ba5695c8277eeed154d7f414939e8b471e83f1fc6b9db93931f8e49dea4583036b0b7fb8d820e0b214bdc4bf2fe78987eb6a5c63ba70611aea6365c2972
25
26 diff --git a/dev-python/URLObject/URLObject-2.4.3.ebuild b/dev-python/URLObject/URLObject-2.4.3.ebuild
27 new file mode 100644
28 index 00000000000..b628b00bb78
29 --- /dev/null
30 +++ b/dev-python/URLObject/URLObject-2.4.3.ebuild
31 @@ -0,0 +1,33 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +PYTHON_COMPAT=( python{2_7,3_5,3_6} )
38 +
39 +inherit distutils-r1
40 +
41 +GITHUB_P=${P,,}
42 +DESCRIPTION="A utility class for manipulating URLs"
43 +HOMEPAGE="https://pypi.org/project/URLObject/"
44 +# note: pypi tarball lacks tests
45 +# https://github.com/zacharyvoase/urlobject/issues/39
46 +SRC_URI="https://github.com/zacharyvoase/urlobject/archive/v${PV}.tar.gz -> ${GITHUB_P}.tar.gz"
47 +
48 +LICENSE="BSD"
49 +KEYWORDS="~amd64 ~x86"
50 +SLOT="0"
51 +IUSE="test"
52 +
53 +RDEPEND=""
54 +DEPEND="
55 + ${RDEPEND}
56 + dev-python/setuptools[${PYTHON_USEDEP}]
57 + test? ( dev-python/nose[${PYTHON_USEDEP}] )
58 +"
59 +
60 +S=${WORKDIR}/${GITHUB_P}
61 +
62 +python_test() {
63 + nosetests -v || die "Tests fail with ${EPYTHON}"
64 +}