summaryrefslogtreecommitdiff
path: root/dev-python/URLObject
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-08-18 18:16:17 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-08-18 18:16:17 +0100
commitfc637fb28da700da71ec2064d65ca5a7a31b9c6c (patch)
tree326613a08f25851c388715e205576a2e7d25dc4f /dev-python/URLObject
parentb24bd25253fe093f722ab576d29fdc41d04cb1ee (diff)
gentoo resync : 18.08.2019
Diffstat (limited to 'dev-python/URLObject')
-rw-r--r--dev-python/URLObject/Manifest2
-rw-r--r--dev-python/URLObject/URLObject-2.4.3.ebuild41
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/URLObject/Manifest b/dev-python/URLObject/Manifest
index 895e9ec37da6..8c88df3fefef 100644
--- a/dev-python/URLObject/Manifest
+++ b/dev-python/URLObject/Manifest
@@ -1,5 +1,7 @@
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
EBUILD URLObject-2.4.0.ebuild 430 BLAKE2B 9574c5710b9b8c53c094bb76cf16763b5e0c9bd4508e63401507595199c9bcdcfb6efb318783febf91971453b0257261f80508fce401bca9e8f1c8a8b038134b SHA512 5ee0615f1e67eb0d1eca12a97ae67a3dc16b134886316b32f701f2cf408d7ac5105c8ccf30bfeb34aff69a3f759da97259a4e0c0a0e112694c55b638e4d5a2c5
EBUILD URLObject-2.4.2-r1.ebuild 747 BLAKE2B fbccb25075878fc05714845bc1c80372b20110b84008d1be916c1d3dcd53462828b617bccc998a6449685ea75d1c509c5caabf20fb7b90ff6675d1ac5afd259a SHA512 6d25ab8ba47aacc760af5fa2c2ef443ccc954ac72928222ef885655597f09316033dfba9059707534d764b414aed5551f30cf2b5b57d459e9339c0b82fa574db
+EBUILD URLObject-2.4.3.ebuild 993 BLAKE2B 2bdd6f1791f39a80214e3db654d1e26c5b3d82d2727d62359b8642922787e76c367a910674f5112751b2fa9cb18cae9a6d5d4d4a5c85bec61a505d379e407675 SHA512 9c50040ea8efd765415b675b1fa96e795c878df0950b104da5b7a04fe9efb45419aab2dd4b2aebe27ba4a0620b8c8f10aef4ffe786ad3d2469c865980911bac1
MISC metadata.xml 359 BLAKE2B eebe59144ebb3622f044879ca30a76d9dc852f936efffbf8da19ab24912d91247fa06d35787c067931ef1a619b79669635e9420ddc66d4571fb6482f54349e75 SHA512 dacc5d5ba44600cd31a8f4980af6dcb28d00b98ef32e411a8845d6241d4eddc3ed30597d64f925dac219026fe1ad250e6b3b38ae00e912499cf3393dace020c4
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 000000000000..52b54f19514b
--- /dev/null
+++ b/dev-python/URLObject/URLObject-2.4.3.ebuild
@@ -0,0 +1,41 @@
+# 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="
+ dev-python/six[${PYTHON_USEDEP}]"
+DEPEND="
+ ${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )
+"
+
+S=${WORKDIR}/${GITHUB_P}
+
+python_prepare_all() {
+ rm "${S}/urlobject/six.py" || die
+ find "${S}/urlobject" -type f -name \*.py \
+ -exec sed -e 's/from \.six import/from six import/g' -i "{}" \; || die
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ nosetests -v || die "Tests fail with ${EPYTHON}"
+}