summaryrefslogtreecommitdiff
path: root/dev-python/python-digest
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/python-digest
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/python-digest')
-rw-r--r--dev-python/python-digest/Manifest6
-rw-r--r--dev-python/python-digest/files/python-digest-1.7-unittest.patch9
-rw-r--r--dev-python/python-digest/metadata.xml12
-rw-r--r--dev-python/python-digest/python-digest-1.7-r1.ebuild27
4 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/python-digest/Manifest b/dev-python/python-digest/Manifest
new file mode 100644
index 000000000000..06526dfa320d
--- /dev/null
+++ b/dev-python/python-digest/Manifest
@@ -0,0 +1,6 @@
+AUX python-digest-1.7-unittest.patch 331 SHA256 54dac56e7e1a1fe426168b5d30eebbbb36f88a00b511c75129cde3c1094efd58 SHA512 65b8c0cdceaa81fe816232b689579ec9a38bf98d7eeef17013588078b9a7a2c63ce54559938034704f8a4fb6605b07dfa70d500c03e7f2657602151321f68809 WHIRLPOOL 50a2b22879c8d6803b7ae1ed54f5904d68cec574552be0ca67fd2b1ab97be17827492b5cfb7cafdccc428e5980ba3989a44524b987bca1cadcd69ead3613fb7a
+DIST python-digest-1.7.tar.gz 10073 SHA256 cda2673e208e95c222b26b8b7717a356d2688e57391c7bd5a77154015e83be45 SHA512 15bfdb8e42275bc8f7fbc10f6f8bcd109852c57b77e98c8c2251784278fb135db494b0224341d34626ad49ea4db2a8803b2eb89d70d88b704819f4e6ca10f7e1 WHIRLPOOL 9b6002b2df7529db3f186a4c81803f8bacd8d14bb8a84b88ece71e36f21e38bd7af3c1394ac427ccd790bd68478c1acecc72b956d7993857eb604356c2b57f0c
+EBUILD python-digest-1.7-r1.ebuild 679 SHA256 46412d7306a54b2200d3223173ba34c881a3d4d26347b965072a2a20eb2a34f5 SHA512 dd7829022bbf8cf07dd0e2ca3e5989661d06a5a303a3bb98f0e517548a7d836374e471331b510eb936fad0d86dfeba58ef5d64070f28c56d491ea086c0796001 WHIRLPOOL 7724c955885076cda8608ddb09ba2da36a188d0b00c33728597969e613604ee8147f128079567cecbf9e239d1fd7be2cc044b9102fe71c4b4902b5315643b3cb
+MISC ChangeLog 2752 SHA256 509c45387b86c2628e54d36ee1c53bf23b553117bf4b9b1423d89704afcbdf7f SHA512 599a1a4745d228b2ec8e7f17ef5214e647b574e15e0f3313edf1ea8d84ed71a8aa0d82b26a480a931d774afad060cb9c49cb2c9a4cc5b56dcab0fec40f5c8c0c WHIRLPOOL 10e77b8e81754e606869aeaa34505363b3e2b2f55295e7c86134f70549e458971709105dd82773fd52e4e67d41a5587d7ae1ff8350e66fea72b84f216647c87f
+MISC ChangeLog-2015 1699 SHA256 507e0e85136141c2509dbf691d6cf341f1e7ac8a71c5e6e30cd19f8cd1f327ef SHA512 a2c95e415738cf13cd1be255fe61ccfb56ce5f1fc4c15e8f9885119bfda98f7f0dab14395b8e3ecc621e68557c51aa8962a2a4d3d485a16a409bcf5757a66bdc WHIRLPOOL 7606843602696ad53c58a52f95d8a51a497dc07068563ebddeacf6d6c2d07ec844544e007e3370f4e704117ca70ec69ec32c3d8ac2c0154feded2c8f7e3910ee
+MISC metadata.xml 390 SHA256 81c1d0d795a699de563dba6eb9c3d418da05baf2ff4d551d24ddea556e74b97d SHA512 1ed20fa80e8f527aa8294af69062629a1b4f166f7f95c9cd7b2854db22fa22f67b5f0dd49109a9fdc4fe4056467833d9c8af58ec838ac312f1287fe5c552b9ec WHIRLPOOL 3ea3cb642a32f5911ebb59c7cf23bc972a7cded4f91878874fbc66d4094ef4efc20cc488b2afc38993657d4ca7dc7188168952690571def2f0467c989f8e1cd3
diff --git a/dev-python/python-digest/files/python-digest-1.7-unittest.patch b/dev-python/python-digest/files/python-digest-1.7-unittest.patch
new file mode 100644
index 000000000000..e3abe0b77c8f
--- /dev/null
+++ b/dev-python/python-digest/files/python-digest-1.7-unittest.patch
@@ -0,0 +1,9 @@
+--- python_digest/tests.py.orig 2012-04-25 11:48:30.212254059 +0200
++++ python_digest/tests.py 2012-04-25 11:48:58.371585156 +0200
+@@ -486,3 +486,6 @@
+ for c in s:
+ self.assertFalse(fs.character(c))
+ self.assertRaises(ValueError, fs.close)
++
++if __name__ == "__main__":
++ unittest.main()
diff --git a/dev-python/python-digest/metadata.xml b/dev-python/python-digest/metadata.xml
new file mode 100644
index 000000000000..f8d390e6abf6
--- /dev/null
+++ b/dev-python/python-digest/metadata.xml
@@ -0,0 +1,12 @@
+<?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="pypi">python-digest</remote-id>
+ <remote-id type="bitbucket">akoha/python-digest</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/python-digest/python-digest-1.7-r1.ebuild b/dev-python/python-digest/python-digest-1.7-r1.ebuild
new file mode 100644
index 000000000000..659d513eb335
--- /dev/null
+++ b/dev-python/python-digest/python-digest-1.7-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="A Python library to aid in implementing HTTP Digest Authentication"
+HOMEPAGE="https://pypi.python.org/pypi/python-digest/ https://bitbucket.org/akoha/python-digest/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+KEYWORDS="amd64 x86"
+IUSE="test"
+DISTUTILS_IN_SOURCE_BUILD=1
+
+LICENSE="BSD"
+SLOT="0"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ dev-python/setuptools"
+
+PATCHES=( "${FILESDIR}"/${P}-unittest.patch )
+
+python_test() {
+ "${PYTHON}" ${PN/-/_}/tests.py || die "Tests failed under ${EPYTHON}"
+}