[gentoo-commits] repo/gentoo:master commit in: dev-python/URLObject/

2019-08-15 Thread Slawek Lis
commit: dfbdeb188385a2e8aeb5d9b1526ed6c63ea637ad
Author: Slawomir Lis  gentoo  org>
AuthorDate: Fri Aug 16 05:21:25 2019 +
Commit: Slawek Lis  gentoo  org>
CommitDate: Fri Aug 16 05:21:38 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfbdeb18

dev-python/URLObject: Removed boundled six

Closes: https://bugs.gentoo.org/616082
Package-Manager: Portage-2.3.71, Repoman-2.3.16
Signed-off-by: Slawek Lis  gentoo.org>

 dev-python/URLObject/URLObject-2.4.3.ebuild | 10 +-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/dev-python/URLObject/URLObject-2.4.3.ebuild 
b/dev-python/URLObject/URLObject-2.4.3.ebuild
index b628b00bb78..52b54f19514 100644
--- a/dev-python/URLObject/URLObject-2.4.3.ebuild
+++ b/dev-python/URLObject/URLObject-2.4.3.ebuild
@@ -19,7 +19,8 @@ KEYWORDS="~amd64 ~x86"
 SLOT="0"
 IUSE="test"
 
-RDEPEND=""
+RDEPEND="
+   dev-python/six[${PYTHON_USEDEP}]"
 DEPEND="
${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
@@ -28,6 +29,13 @@ DEPEND="
 
 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}"
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/URLObject/

2019-08-15 Thread Slawek Lis
commit: ef87f734ad1a9d4d572f7cc5b86b0a60917e040c
Author: Slawomir Lis  gentoo  org>
AuthorDate: Fri Aug 16 05:20:12 2019 +
Commit: Slawek Lis  gentoo  org>
CommitDate: Fri Aug 16 05:21:37 2019 +
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  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 000..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}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/URLObject/

2017-04-20 Thread Michał Górny
commit: 9c0dc5f6db2a268e664842fc2a609dec500f38cf
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Apr 20 08:25:40 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Apr 20 09:18:08 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c0dc5f6

dev-python/URLObject: Add missing PYTHON_USEDEP

 dev-python/URLObject/URLObject-2.4.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/URLObject/URLObject-2.4.2.ebuild 
b/dev-python/URLObject/URLObject-2.4.2.ebuild
index 6a766ff291c..d42f11db1d1 100644
--- a/dev-python/URLObject/URLObject-2.4.2.ebuild
+++ b/dev-python/URLObject/URLObject-2.4.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -19,5 +19,5 @@ IUSE=""
 RDEPEND=""
 DEPEND="
${RDEPEND}
-   dev-python/setuptools
+   dev-python/setuptools[${PYTHON_USEDEP}]
 "



[gentoo-commits] repo/gentoo:master commit in: dev-python/URLObject/

2017-04-20 Thread Michał Górny
commit: ba8562cf64248970666a2ea217cc1f481eb8a48f
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Apr 20 09:01:09 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Apr 20 09:18:13 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba8562cf

dev-python/URLObject: include tests

Use github-generated tarball instead of pypi because the latter lacks
test subdirectory. Run tests using nosetests.

 dev-python/URLObject/Manifest|  2 +-
 ...{URLObject-2.4.2.ebuild => URLObject-2.4.2-r1.ebuild} | 16 +---
 2 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/dev-python/URLObject/Manifest b/dev-python/URLObject/Manifest
index f7e28b4b05a..4f5cc72fcd7 100644
--- a/dev-python/URLObject/Manifest
+++ b/dev-python/URLObject/Manifest
@@ -1,2 +1,2 @@
 DIST URLObject-2.4.0.tar.gz 12533 SHA256 
f51272b12846db98af530b0a64f6593d2b1e8405f0aa580285b37ce8009b8d9c SHA512 
1334c8d8dbb93f50fb6672ae5c2e1dbb8c880af65c18c96c7bc65bb46ae894ab0696d36236036c1e4434a6e75b692ecd0b37055ef9b55fb50ffbaf13197b1701
 WHIRLPOOL 
41de6cca4dccb45221d01d772ab7d5799a8ed8d797e2adc440e2b09f503f7ce324f647748318e85768f9528d75363a322e7030fd0056772443e1c18f0c52767e
-DIST URLObject-2.4.2.tar.gz 14050 SHA256 
dd0f08a81d89485b1e587fd60aec4b8482859788e5ace67dd1b0d4a001515c57 SHA512 
ebe92f2c2b32dcaee2121f07c2fdb6177df721bc3b14f3b85ce0b52a0222364a8436a964e93326e8ae178dafb17431879f36d3322a7f9c9ae12bfc23b748bdae
 WHIRLPOOL 
3edbd17ba52e1603311ad3c78bf84c1d4316783e1776281fcfb7b3e302f3f8e00d193e412fb298df7d4d28c5498a1295d3ab55ea6778469cc3418c0676dbdf76
+DIST urlobject-2.4.2.tar.gz 25457 SHA256 
6ea091b1a9e2500c2bdaf1201c8169529a7170a26f6fe6932648751ecd4209ac SHA512 
970c5900171fa64624cd2ed2ba7f3a761057eda5c1fc07f881e8b7c74bde0cbbb7fc6c7c8694d8b8be0e991322da148528d99ff6fb2d4b75e1ddd1c2f474b4f3
 WHIRLPOOL 
c8c6d3856169d796a87847d5e21c6f9a97ae82b248c0cf809aacca38bb49715837bbf67885ff216da205291b069ff98802aadb5358592fb74c8f14ee441efe72

diff --git a/dev-python/URLObject/URLObject-2.4.2.ebuild 
b/dev-python/URLObject/URLObject-2.4.2-r1.ebuild
similarity index 52%
rename from dev-python/URLObject/URLObject-2.4.2.ebuild
rename to dev-python/URLObject/URLObject-2.4.2-r1.ebuild
index d42f11db1d1..1e98b597b70 100644
--- a/dev-python/URLObject/URLObject-2.4.2.ebuild
+++ b/dev-python/URLObject/URLObject-2.4.2-r1.ebuild
@@ -1,23 +1,33 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI=6
 
 PYTHON_COMPAT=( python{2_7,3_4} )
 
 inherit distutils-r1
 
+GITHUB_P=${P,,}
 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"
+# 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=""
+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}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/URLObject/

2017-04-20 Thread Michał Górny
commit: 9a65c692194aee6d00681649913934488225dfd0
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Apr 20 09:16:26 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Apr 20 09:18:14 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a65c692

dev-python/URLObject: Tested on py3.5 & py3.6

 dev-python/URLObject/URLObject-2.4.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/URLObject/URLObject-2.4.2-r1.ebuild 
b/dev-python/URLObject/URLObject-2.4.2-r1.ebuild
index 1e98b597b70..a1fa7caa07b 100644
--- a/dev-python/URLObject/URLObject-2.4.2-r1.ebuild
+++ b/dev-python/URLObject/URLObject-2.4.2-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_4} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/URLObject/

2016-11-29 Thread Slawek Lis
commit: 120e129751415fa36ee9c7df3b9d0dd857eaa831
Author: Slawomir Lis  gentoo  org>
AuthorDate: Tue Nov 29 12:04:54 2016 +
Commit: Slawek Lis  gentoo  org>
CommitDate: Tue Nov 29 12:08:28 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=120e1297

dev-python/URLObject: version bump to 2.4.2

Package-Manager: portage-2.3.2

 dev-python/URLObject/Manifest   |  1 +
 dev-python/URLObject/URLObject-2.4.2.ebuild | 24 
 2 files changed, 25 insertions(+)

diff --git a/dev-python/URLObject/Manifest b/dev-python/URLObject/Manifest
index 171dbfd..f7e28b4 100644
--- a/dev-python/URLObject/Manifest
+++ b/dev-python/URLObject/Manifest
@@ -1 +1,2 @@
 DIST URLObject-2.4.0.tar.gz 12533 SHA256 
f51272b12846db98af530b0a64f6593d2b1e8405f0aa580285b37ce8009b8d9c SHA512 
1334c8d8dbb93f50fb6672ae5c2e1dbb8c880af65c18c96c7bc65bb46ae894ab0696d36236036c1e4434a6e75b692ecd0b37055ef9b55fb50ffbaf13197b1701
 WHIRLPOOL 
41de6cca4dccb45221d01d772ab7d5799a8ed8d797e2adc440e2b09f503f7ce324f647748318e85768f9528d75363a322e7030fd0056772443e1c18f0c52767e
+DIST URLObject-2.4.2.tar.gz 14050 SHA256 
dd0f08a81d89485b1e587fd60aec4b8482859788e5ace67dd1b0d4a001515c57 SHA512 
ebe92f2c2b32dcaee2121f07c2fdb6177df721bc3b14f3b85ce0b52a0222364a8436a964e93326e8ae178dafb17431879f36d3322a7f9c9ae12bfc23b748bdae
 WHIRLPOOL 
3edbd17ba52e1603311ad3c78bf84c1d4316783e1776281fcfb7b3e302f3f8e00d193e412fb298df7d4d28c5498a1295d3ab55ea6778469cc3418c0676dbdf76

diff --git a/dev-python/URLObject/URLObject-2.4.2.ebuild 
b/dev-python/URLObject/URLObject-2.4.2.ebuild
new file mode 100644
index ..0f3fefe
--- /dev/null
+++ b/dev-python/URLObject/URLObject-2.4.2.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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
+"



[gentoo-commits] repo/gentoo:master commit in: dev-python/URLObject/

2016-06-20 Thread Slawek Lis
commit: ab5a7e3df69810862e1ffde993fefb604491aada
Author: Slawomir Lis  gentoo  org>
AuthorDate: Mon Jun 20 12:55:23 2016 +
Commit: Slawek Lis  gentoo  org>
CommitDate: Mon Jun 20 13:05:42 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab5a7e3d

fixed homepage

Package-Manager: portage-2.3.0_rc1

 dev-python/URLObject/URLObject-2.4.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/URLObject/URLObject-2.4.0.ebuild 
b/dev-python/URLObject/URLObject-2.4.0.ebuild
index 446ab1f..0f3fefe 100644
--- a/dev-python/URLObject/URLObject-2.4.0.ebuild
+++ b/dev-python/URLObject/URLObject-2.4.0.ebuild
@@ -8,8 +8,8 @@ PYTHON_COMPAT=( python{2_7,3_4} )
 
 inherit distutils-r1
 
-DESCRIPTION="A Django template library for manipulating URLs"
-HOMEPAGE="https://pypi.python.org/pypi/django-spurl;
+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"



[gentoo-commits] repo/gentoo:master commit in: dev-python/URLObject/

2016-06-20 Thread Slawek Lis
commit: 733dba0925d01065c97e2711a029a2f9afd52c08
Author: Slawomir Lis  gentoo  org>
AuthorDate: Mon Jun 20 12:53:38 2016 +
Commit: Slawek Lis  gentoo  org>
CommitDate: Mon Jun 20 13:05:39 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=733dba09

added URLObject package

Package-Manager: portage-2.3.0_rc1

 dev-python/URLObject/Manifest   |  1 +
 dev-python/URLObject/URLObject-2.4.0.ebuild | 24 
 dev-python/URLObject/metadata.xml   | 10 ++
 3 files changed, 35 insertions(+)

diff --git a/dev-python/URLObject/Manifest b/dev-python/URLObject/Manifest
new file mode 100644
index 000..171dbfd
--- /dev/null
+++ b/dev-python/URLObject/Manifest
@@ -0,0 +1 @@
+DIST URLObject-2.4.0.tar.gz 12533 SHA256 
f51272b12846db98af530b0a64f6593d2b1e8405f0aa580285b37ce8009b8d9c SHA512 
1334c8d8dbb93f50fb6672ae5c2e1dbb8c880af65c18c96c7bc65bb46ae894ab0696d36236036c1e4434a6e75b692ecd0b37055ef9b55fb50ffbaf13197b1701
 WHIRLPOOL 
41de6cca4dccb45221d01d772ab7d5799a8ed8d797e2adc440e2b09f503f7ce324f647748318e85768f9528d75363a322e7030fd0056772443e1c18f0c52767e

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 000..446ab1f
--- /dev/null
+++ b/dev-python/URLObject/URLObject-2.4.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+PYTHON_COMPAT=( python{2_7,3_4} )
+
+inherit distutils-r1
+
+DESCRIPTION="A Django template library for manipulating URLs"
+HOMEPAGE="https://pypi.python.org/pypi/django-spurl;
+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/metadata.xml 
b/dev-python/URLObject/metadata.xml
new file mode 100644
index 000..eb1042a
--- /dev/null
+++ b/dev-python/URLObject/metadata.xml
@@ -0,0 +1,10 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+  
+s...@gentoo.org
+  
+  
+URLObject
+  
+