summaryrefslogtreecommitdiff
path: root/dev-python/URLObject
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/URLObject')
-rw-r--r--dev-python/URLObject/Manifest6
-rw-r--r--dev-python/URLObject/URLObject-2.4.0.ebuild23
-rw-r--r--dev-python/URLObject/URLObject-2.4.2-r1.ebuild33
-rw-r--r--dev-python/URLObject/metadata.xml11
4 files changed, 73 insertions, 0 deletions
diff --git a/dev-python/URLObject/Manifest b/dev-python/URLObject/Manifest
new file mode 100644
index 000000000000..db5f3931d499
--- /dev/null
+++ b/dev-python/URLObject/Manifest
@@ -0,0 +1,6 @@
+DIST URLObject-2.4.0.tar.gz 12533 SHA256 f51272b12846db98af530b0a64f6593d2b1e8405f0aa580285b37ce8009b8d9c SHA512 1334c8d8dbb93f50fb6672ae5c2e1dbb8c880af65c18c96c7bc65bb46ae894ab0696d36236036c1e4434a6e75b692ecd0b37055ef9b55fb50ffbaf13197b1701 WHIRLPOOL 41de6cca4dccb45221d01d772ab7d5799a8ed8d797e2adc440e2b09f503f7ce324f647748318e85768f9528d75363a322e7030fd0056772443e1c18f0c52767e
+DIST urlobject-2.4.2.tar.gz 25457 SHA256 6ea091b1a9e2500c2bdaf1201c8169529a7170a26f6fe6932648751ecd4209ac SHA512 970c5900171fa64624cd2ed2ba7f3a761057eda5c1fc07f881e8b7c74bde0cbbb7fc6c7c8694d8b8be0e991322da148528d99ff6fb2d4b75e1ddd1c2f474b4f3 WHIRLPOOL c8c6d3856169d796a87847d5e21c6f9a97ae82b248c0cf809aacca38bb49715837bbf67885ff216da205291b069ff98802aadb5358592fb74c8f14ee441efe72
+EBUILD URLObject-2.4.0.ebuild 442 SHA256 a4569ff1c2a4b357ecab4b70d156809975db621f0ae880482c8e476623206ef6 SHA512 9653a80114aae1597c1b7062ab85c1955f7b31f1aad9dea612eb34d74d88a917cba3ca8fd3d77ef1090daee62f4692b82ee7f52d78e345f410d186eba5a8d1f9 WHIRLPOOL 8055c2be910165fe2e0fe628250791d46e01c3135cef4b6b955866cab4fe61f57cfe5da9a2478fcb088215b9adc729d0af59c07be49a23146848e0fdb3ea0c71
+EBUILD URLObject-2.4.2-r1.ebuild 757 SHA256 7192ef99fc078bd7091c6b653092bb47be32766bebefea3912583d6700ccfc1f SHA512 690c91ce125972e0e1f274765c7e793dadddd943225a9fff3afd368a9a028afa2b3988023be5f30814e556791a1ebfe8d4f7311aebde4f367cbc995c28b0e289 WHIRLPOOL 306603b4c706011bc35f663279aa69a33ac35ab473d1db85110eabe1ec0a05220e97c23f504e458b11c30bce90a22fd8101028419edb301cde1fa07c8ae25ca9
+MISC ChangeLog 613 SHA256 ae4f35e48a09cc4e99a8931b82c035fb5ea76045f5c13abd20bb1b2c4d9d4bc8 SHA512 02b229b5d8bc9f23d99c1337ef81cadad7f03f304cb5f6947f2a75df7ea79864ff7db8c00459fec2e96598425ec5af36e35746d9789e81dc7b368d096b5bc7a4 WHIRLPOOL 38683c69f2443b017d0d94dd845b5e2ea96d5d785597d97f01395053c41ffd9ef16fb11eb052bd34e59e272a57bfabae7872a3be09006524b49465151d3cf4ba
+MISC metadata.xml 359 SHA256 99053572a0524436086f64238fe7729e73760cd01d06ab4b273e6e69a60857b3 SHA512 dacc5d5ba44600cd31a8f4980af6dcb28d00b98ef32e411a8845d6241d4eddc3ed30597d64f925dac219026fe1ad250e6b3b38ae00e912499cf3393dace020c4 WHIRLPOOL 56cbc56d956901fb343ac1ca89ff4dffdb48cb3458851537dd79c5613c709b000ddef10310304af18e4a18d76ef2cde6914563e2945176c3290be3f3389d8538
diff --git a/dev-python/URLObject/URLObject-2.4.0.ebuild b/dev-python/URLObject/URLObject-2.4.0.ebuild
new file mode 100644
index 000000000000..6a766ff291c3
--- /dev/null
+++ b/dev-python/URLObject/URLObject-2.4.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python{2_7,3_4} )
+
+inherit distutils-r1
+
+DESCRIPTION="A utility class for manipulating URLs"
+HOMEPAGE="https://pypi.python.org/pypi/URLObject"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RDEPEND=""
+DEPEND="
+ ${RDEPEND}
+ dev-python/setuptools
+"
diff --git a/dev-python/URLObject/URLObject-2.4.2-r1.ebuild b/dev-python/URLObject/URLObject-2.4.2-r1.ebuild
new file mode 100644
index 000000000000..a1fa7caa07bd
--- /dev/null
+++ b/dev-python/URLObject/URLObject-2.4.2-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit distutils-r1
+
+GITHUB_P=${P,,}
+DESCRIPTION="A utility class for manipulating URLs"
+HOMEPAGE="https://pypi.python.org/pypi/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}"
+}
diff --git a/dev-python/URLObject/metadata.xml b/dev-python/URLObject/metadata.xml
new file mode 100644
index 000000000000..ba221ccd4b9c
--- /dev/null
+++ b/dev-python/URLObject/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>slis@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">URLObject</remote-id>
+ <remote-id type="github">zacharyvoase/urlobject</remote-id>
+ </upstream>
+</pkgmetadata>