summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-05-06 11:05:04 +0200
committerMichał Górny <mgorny@gentoo.org>2017-05-07 20:43:24 +0200
commit8c67507ecdb920a8a56ed510f8e535e2be33144e (patch)
treeb5baa2da9b544ca155d43ff0339d30494a95aa1f /dev-python/zope-deprecation
parentdev-python/zc-buildout: Partially enable tests (diff)
downloadgentoo-8c67507ecdb920a8a56ed510f8e535e2be33144e.tar.gz
gentoo-8c67507ecdb920a8a56ed510f8e535e2be33144e.tar.bz2
gentoo-8c67507ecdb920a8a56ed510f8e535e2be33144e.zip
dev-python/zope-deprecation: New package, dep of dev-python/pyramid
Diffstat (limited to 'dev-python/zope-deprecation')
-rw-r--r--dev-python/zope-deprecation/Manifest1
-rw-r--r--dev-python/zope-deprecation/metadata.xml11
-rw-r--r--dev-python/zope-deprecation/zope-deprecation-4.2.0.ebuild36
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/zope-deprecation/Manifest b/dev-python/zope-deprecation/Manifest
new file mode 100644
index 000000000000..98b6bb89ca50
--- /dev/null
+++ b/dev-python/zope-deprecation/Manifest
@@ -0,0 +1 @@
+DIST zope.deprecation-4.2.0.tar.gz 223338 SHA256 ff32c5bb5388b77b22c83ed1f1aa01cdbb076d9f2cfa2b825450ce9e2ecfd738 SHA512 8ae5428d8e76014aaf17bfc05c88e7423be892f35bc9ec61f2f2919bb043fe0937cb592eec81763d9b6841ba3afa938e047cbecfacb9e4d29350e99f6ed417e6 WHIRLPOOL 967564825174b50c591a4d6f309b3384fce7dfa0c1201d38b332f2b2354c071fe1b63493b57ed6d35ecfe6534bb3be810ad7b30b2d3b1365b263757c066d1848
diff --git a/dev-python/zope-deprecation/metadata.xml b/dev-python/zope-deprecation/metadata.xml
new file mode 100644
index 000000000000..ae35638ded39
--- /dev/null
+++ b/dev-python/zope-deprecation/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>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">zope.deprecation</remote-id>
+ <remote-id type="github">zopefoundation/zope.deprecation</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/zope-deprecation/zope-deprecation-4.2.0.ebuild b/dev-python/zope-deprecation/zope-deprecation-4.2.0.ebuild
new file mode 100644
index 000000000000..a03bcc2ab005
--- /dev/null
+++ b/dev-python/zope-deprecation/zope-deprecation-4.2.0.ebuild
@@ -0,0 +1,36 @@
+# 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,5,6}} pypy{,3} )
+inherit distutils-r1
+
+MY_PN=${PN/-/.}
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Zope Deprecation Infrastructure"
+HOMEPAGE="https://github.com/zopefoundation/zope.deprecation"
+SRC_URI="mirror://pypi/${MY_PN::1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="ZPL"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}]"
+# note: nosetests are not actually used or enforced via test_requires
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+S=${WORKDIR}/${MY_P}
+
+python_test() {
+ esetup.py test
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ find "${ED}" -name '*.pth' -delete || die
+}