summaryrefslogtreecommitdiff
path: root/dev-python/python3-openid
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/python3-openid
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/python3-openid')
-rw-r--r--dev-python/python3-openid/Manifest8
-rw-r--r--dev-python/python3-openid/files/django-tests.patch32
-rw-r--r--dev-python/python3-openid/metadata.xml11
-rw-r--r--dev-python/python3-openid/python3-openid-3.0.4_p1.ebuild34
-rw-r--r--dev-python/python3-openid/python3-openid-3.1.0.ebuild28
5 files changed, 113 insertions, 0 deletions
diff --git a/dev-python/python3-openid/Manifest b/dev-python/python3-openid/Manifest
new file mode 100644
index 000000000000..8300ee94b7e8
--- /dev/null
+++ b/dev-python/python3-openid/Manifest
@@ -0,0 +1,8 @@
+AUX django-tests.patch 970 SHA256 d0a68e329bbb4d124bc25532343da166b04b5f7f068899af4c257acdf5ce6254 SHA512 7fda9e32b094712b35ce5a8b6a5238b90ff232eaf4ec12a8b3d34c87b133dd1b3e79b44d9e59a11c484a077d15e951300a7c15f60a511f7e77a377196094f8f5 WHIRLPOOL 3d4f8227c434f8b308b8f80a724ed5f15dfe99fa17be1bfaee13ad903ccf7cd8b6e125ae8201e381a38d21367787cf934e559323b0ea0e2d56f1514b28bd322b
+DIST python3-openid-3.0.4_p1.tar.gz 306465 SHA256 eb78cb2288805ee1c51eeaa8941c61be796ac1126e1ca0a2c49dc7582b0c0407 SHA512 6e710dc47c3c1d4f31937b8a4dcf546cdb06128ffddbc3b2e2a2a9e09a8a3a7122326ba2137a92269f58a29f1b264c2e942610098f91f237d45f5ff0887faea0 WHIRLPOOL 8812d4fd0c0ffd3e40f4f8414463f05cf62b37d388039a5287ac412c452a8e7cb142accafdfbd9e32d36cde3d4a6d96954742b542fdc92168d31574de185c152
+DIST python3-openid-3.1.0.tar.gz 299326 SHA256 628d365d687e12da12d02c6691170f4451db28d6d68d050007e4a40065868502 SHA512 9c96efd16191ddb6ddb12c4885a2cce523244d04e70f9418144d0124ef142fd7b6578cd2a01e949995d7dedf0b96cbb3b17d1d3a29db5da8934f7fa875ad8e9c WHIRLPOOL 1b46810f625d0e5a3018b2dd2c1df938bb3df41c3316d04910d1e3ed24e747e0066829782bd978f92a20291a02f1562beb40e498fe1d3f928828cc2b708ce199
+EBUILD python3-openid-3.0.4_p1.ebuild 845 SHA256 1c073e018e028b7a50b4a19d634e323f01243a1c61ce8d04e76a76cb7270742b SHA512 9ef9966571b51b5c432e40884c6410eaa4ba6977e1efc4aa3566fabe6ff0422437e6e307a5419f8c28c94d104c611df36f999fa53a3436d47aee4ba562702cb4 WHIRLPOOL cad9857f751a61eba5c4736f4df6893dd82df7f6ec6ece4105b643aa575f56f57e29f3eca9e887d750cc11fa4b3d15308bd9aab8ba5cf140998e8fb7cf566144
+EBUILD python3-openid-3.1.0.ebuild 697 SHA256 d2112870267479f139dc5a2309653add910089acd963f61efb1926922f9bcc9d SHA512 1bcf11fb571361c31d6be4b6e9aa96b490a17eebbe5deba48bdb712cc41a9c4320ec546f919c98b70161ece502699a394bdc5c8026825af306a5550e30208301 WHIRLPOOL f0b195a16d69dc689911701742f8296899146d6c3d9a7f520e7d8c741a3b5b128f2198ce87fba39ca5d4ce2d5d8f146d00dce886ed7c9201a582c08ee11a74f6
+MISC ChangeLog 2623 SHA256 1566216d72c0dd3fe975f11c0a7b04ad223e82a1ac4c2514aa3647126084fc46 SHA512 fbb7ecf77158667b58e3f3924f52376d64de2d6d65619dbb16d3c239b55e366e095c38f9d55e32525b701339c49bea1acfb62df8e8bfddbbfca25fb5b7cfa8fb WHIRLPOOL 31435893a38bf641d8ad3316b070c06ddc6a2cb19443f35fcd5c8e9e3234d3a6eaf605b7acd90b6061f0904321aa52129dcbbb09ea974e17d807f70e82729c62
+MISC ChangeLog-2015 749 SHA256 5df5a8b6bfa35e62f408c408bf8fe49ca52c9281a7bc0b506b566a8c8ec0b06c SHA512 732ea1567dd95cf51d8abb0ad47d82a3ec636a4037ba11e65d1c053d58619f80d5420e2f26dfc0912b4af83d17227ee7e6bb73176ba2909de3a28c9c2b177176 WHIRLPOOL 1bd7e2b1b8f18c2d9cc4e3ca76d010acd5703565b87c0de896202669057728e5a407a56ac5a685891d177bc91b81e5aa0297b73f3c14e2ac72cefdbaf1b61dbf
+MISC metadata.xml 337 SHA256 3b4504f2c113257dbf0750aed249a0ed46dc3753ac55e2a3d4cd15ec23dc9c2d SHA512 099dc2e5cd089e1638ad20bc476cd8d9e6d173b22611f48b34b9945f92886550f53d86ca672882bd570cd6515c33a2d8b4acb87fbd35abfbc55bd592b570459c WHIRLPOOL f2641df6e9cc421603f5fbe42e4e987ac0faa670d2bd3d0e752fb675954afacdc4091558898c9bd4c66e4141073a3d9042ff02aaf15b082db058f84c03cce24e
diff --git a/dev-python/python3-openid/files/django-tests.patch b/dev-python/python3-openid/files/django-tests.patch
new file mode 100644
index 000000000000..e5fcda877f31
--- /dev/null
+++ b/dev-python/python3-openid/files/django-tests.patch
@@ -0,0 +1,32 @@
+diff --git a/examples/djopenid/consumer/urls.py b/examples/djopenid/consumer/urls.py
+index d55e056..3926e27 100644
+--- a/examples/djopenid/consumer/urls.py
++++ b/examples/djopenid/consumer/urls.py
+@@ -1,5 +1,5 @@
+
+-from django.conf.urls.defaults import *
++from django.conf.urls import *
+
+ urlpatterns = patterns(
+ 'djopenid.consumer.views',
+diff --git a/examples/djopenid/server/urls.py b/examples/djopenid/server/urls.py
+index d6931a4..e61de52 100644
+--- a/examples/djopenid/server/urls.py
++++ b/examples/djopenid/server/urls.py
+@@ -1,5 +1,5 @@
+
+-from django.conf.urls.defaults import *
++from django.conf.urls import *
+
+ urlpatterns = patterns(
+ 'djopenid.server.views',
+diff --git a/examples/djopenid/urls.py b/examples/djopenid/urls.py
+index d91ee1f..16af9a1 100644
+--- a/examples/djopenid/urls.py
++++ b/examples/djopenid/urls.py
+@@ -1,4 +1,4 @@
+-from django.conf.urls.defaults import *
++from django.conf.urls import *
+
+ urlpatterns = patterns(
+ '',
diff --git a/dev-python/python3-openid/metadata.xml b/dev-python/python3-openid/metadata.xml
new file mode 100644
index 000000000000..5e866c63a84e
--- /dev/null
+++ b/dev-python/python3-openid/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="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">necaris/python3-openid</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/python3-openid/python3-openid-3.0.4_p1.ebuild b/dev-python/python3-openid/python3-openid-3.0.4_p1.ebuild
new file mode 100644
index 000000000000..a7a1afd54b05
--- /dev/null
+++ b/dev-python/python3-openid/python3-openid-3.0.4_p1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python3_4 )
+
+inherit vcs-snapshot distutils-r1
+
+DESCRIPTION="Python 3 port of the python-openid library"
+HOMEPAGE="https://github.com/necaris/python3-openid https://pypi.python.org/pypi/python3-openid"
+SRC_URI="https://github.com/necaris/${PN}/archive/47a15d30b962a4316473ae9909b3405773d78181.tar.gz -> ${P}.tar.gz"
+#https://github.com/necaris/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="amd64"
+IUSE="examples test"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/django-tests.patch
+)
+
+python_test() {
+ "${S}"/run_tests.sh || die "tests fail on ${EPYTHON}"
+}
+
+python_install_all() {
+ use examples && local EXAMPLES="examples/."
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/python3-openid/python3-openid-3.1.0.ebuild b/dev-python/python3-openid/python3-openid-3.1.0.ebuild
new file mode 100644
index 000000000000..1484171e99bd
--- /dev/null
+++ b/dev-python/python3-openid/python3-openid-3.1.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python3_{4,5,6} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python 3 port of the python-openid library"
+HOMEPAGE="https://github.com/necaris/python3-openid https://pypi.python.org/pypi/python3-openid"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-python/defusedxml[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ test? (
+ dev-python/psycopg:2[${PYTHON_USEDEP}]
+ )
+"
+
+python_test() {
+ ${EPYTHON} -m unittest -v openid.test.test_suite || die "Tests failed with ${EPYTHON}"
+}