diff options
author | Theo Chatzimichos <tampakrap@gentoo.org> | 2012-04-27 10:50:01 +0000 |
---|---|---|
committer | Theo Chatzimichos <tampakrap@gentoo.org> | 2012-04-27 10:50:01 +0000 |
commit | 15e06c4836f2cd623c1a2dea28e90b06cf0fbf84 (patch) | |
tree | a5b798d802a4f103b503e955360858781afed077 /dev-python | |
parent | Initial commit from luke-jr's bitcoin overlay. Thanks (diff) | |
download | gentoo-2-15e06c4836f2cd623c1a2dea28e90b06cf0fbf84.tar.gz gentoo-2-15e06c4836f2cd623c1a2dea28e90b06cf0fbf84.tar.bz2 gentoo-2-15e06c4836f2cd623c1a2dea28e90b06cf0fbf84.zip |
Initial commit, ebuild by idella4
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/python-digest/ChangeLog | 11 | ||||
-rw-r--r-- | dev-python/python-digest/Manifest | 4 | ||||
-rw-r--r-- | dev-python/python-digest/files/python-digest-1.7-unittest.patch | 9 | ||||
-rw-r--r-- | dev-python/python-digest/metadata.xml | 14 | ||||
-rw-r--r-- | dev-python/python-digest/python-digest-1.7.ebuild | 37 |
5 files changed, 75 insertions, 0 deletions
diff --git a/dev-python/python-digest/ChangeLog b/dev-python/python-digest/ChangeLog new file mode 100644 index 000000000000..d2c661aa679e --- /dev/null +++ b/dev-python/python-digest/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-python/python-digest +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-digest/ChangeLog,v 1.1 2012/04/27 10:50:01 tampakrap Exp $ + +*python-digest-1.7 (27 Apr 2012) + + 27 Apr 2012; Theo Chatzimichos <tampakrap@gentoo.org> + +files/python-digest-1.7-unittest.patch, +metadata.xml, + +python-digest-1.7.ebuild: + Initial commit, ebuild by idella4 + diff --git a/dev-python/python-digest/Manifest b/dev-python/python-digest/Manifest new file mode 100644 index 000000000000..3f224fae5acc --- /dev/null +++ b/dev-python/python-digest/Manifest @@ -0,0 +1,4 @@ +AUX python-digest-1.7-unittest.patch 331 RMD160 17f0ead5dae58cd27c2bf266f1f41255415d9278 SHA1 2d18c5dac3b62dcf437ca3a1c3322d957f0dd4b7 SHA256 54dac56e7e1a1fe426168b5d30eebbbb36f88a00b511c75129cde3c1094efd58 +DIST python-digest-1.7.tar.gz 10073 RMD160 06e12c20409a8fb21f60bacfad22f62f4d2413e2 SHA1 8c1eb066fc192c6d2f670cceb6c980f1190141e8 SHA256 cda2673e208e95c222b26b8b7717a356d2688e57391c7bd5a77154015e83be45 +EBUILD python-digest-1.7.ebuild 835 RMD160 d10e02366f5860763fd627ea3b465d7fa9bc8168 SHA1 8a6a419b5f5ebaee0faa6b60c38374146f0628c9 SHA256 abe9b93e236f738d8d9ae5706ea70ddc25cd5782ca05bb05d9cd5d6b1439956e +MISC metadata.xml 354 RMD160 091888911fc3977462b1015a07a860a68ab6ee9e SHA1 dfd9a92e0cdac92fbeccaae8038db941a4273b09 SHA256 286b386bcfeeacbeace854ed0f9904d845b8397b957963d95bae64534a6decb2 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..472ba4684030 --- /dev/null +++ b/dev-python/python-digest/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>johneed@hotmail.com</email> + <name>Ian Delaney</name> + </maintainer> + <maintainer> + <email>tampakrap@gentoo.org</email> + <name>Theo Chatzimichos</name> + </maintainer> + <herd>python</herd> +</pkgmetadata> + diff --git a/dev-python/python-digest/python-digest-1.7.ebuild b/dev-python/python-digest/python-digest-1.7.ebuild new file mode 100644 index 000000000000..9c8b48b82fcc --- /dev/null +++ b/dev-python/python-digest/python-digest-1.7.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-digest/python-digest-1.7.ebuild,v 1.1 2012/04/27 10:50:01 tampakrap Exp $ + +EAPI=4 +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS=1 +RESTRICT_PYTHON_ABIS="3.*" + +inherit distutils eutils + +DESCRIPTION="A flexible and capable API layer for django utilising serialisers" +HOMEPAGE="http://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" +IUSE="test" + +LICENSE="BSD" +SLOT="0" +PYTHON_MODNAME="python_digest" + +RDEPEND="" +DEPEND="${RDEPEND} + dev-python/setuptools" + +src_prepare() { + epatch "${FILESDIR}"/${P}-unittest.patch + distutils_src_prepare +} + +src_test() { + testing() { + PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib*)" \ + "$(PYTHON)" ${PYTHON_MODNAME}/tests.py + } + python_execute_function testing +} |