summaryrefslogtreecommitdiff
path: root/dev-python/zc-buildout
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/zc-buildout
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/zc-buildout')
-rw-r--r--dev-python/zc-buildout/Manifest6
-rw-r--r--dev-python/zc-buildout/metadata.xml26
-rw-r--r--dev-python/zc-buildout/zc-buildout-2.5.3-r1.ebuild56
-rw-r--r--dev-python/zc-buildout/zc-buildout-2.5.3.ebuild43
4 files changed, 131 insertions, 0 deletions
diff --git a/dev-python/zc-buildout/Manifest b/dev-python/zc-buildout/Manifest
new file mode 100644
index 000000000000..c1d5f4a921e8
--- /dev/null
+++ b/dev-python/zc-buildout/Manifest
@@ -0,0 +1,6 @@
+DIST zc.buildout-2.5.3.tar.gz 305163 SHA256 3e5f3afcc64416604c5efc554c2fa0901b60657e012a710c320e2eb510efcfb9 SHA512 a4d4becac815531cd180795372ce5896d1fdab8606fff492502ef1f59d6d1ddd8427bb00ea96d36ec284a18b17b9273d8b94a405ebe410bae7e9a6e47a8dfad7 WHIRLPOOL b5d01e3b1a589cafb965cae8992f3657805ec3fd22ed75f43d57cba6260e4a7c2bc047c7355ae37cbbd13bb673ba7509597dbb0ed792bbfcbb80817646d7c4fc
+EBUILD zc-buildout-2.5.3-r1.ebuild 1245 SHA256 b48d4d14e0af3e6236842458d8ac6dc2ae38f83ec46efcb3e6712cfb33d90978 SHA512 9ab9bf094bd1f2dde51f739610c37c3cefb8a803ec15fd5b1820795b1a92767aff4592dc0756eb65c6eb8ddbaa25d7740cb29b7678703be3ca1061c50c76e5dc WHIRLPOOL f82633bf69735183678b4bb2bf17ee77c46f15828c3a1c951f63e5335344622da63f3383ef639b6184cd8bde885dc96e6e08b7ddc9184daca3733f34c3a9723c
+EBUILD zc-buildout-2.5.3.ebuild 1025 SHA256 f168b9e06ab629f34d6cd8deab36bc066bee244b146c57e9fb9d02fb9cdf8c84 SHA512 be3eb00f3b60a020c519c4ae97767ccb66e5cdde48caafe7642d29404a3db0dcdf813d59798594e3eb270e0489249473a9202295754005961b3d59d58f254c74 WHIRLPOOL fa3c8297b000389ded6602e58ba762104eea9222791dcf9874f4315c76970bc4ddd5a49d060db10c994977f0b07af6e6330c46d1f9678e321c4000401938c429
+MISC ChangeLog 2940 SHA256 0aeaa82857a05c8a74628d62c8ac10476e3846f2164a7acb3444ceacf1f0ba58 SHA512 b2d190311ce4eff13a2bb745acc1f8240e108350c571f62b3b8ea747de6eb5a25eb8003d64c53eca08c50815a656251e047b469e3fffc217d4693311ccc873c5 WHIRLPOOL d67602f59215c9d2ee62e45d04445eff36c4b96227e5ba8c86c6261be092352b4379e05722667a5e6697a64c12de65b2fb3f8401f2a90726cb357369da676bba
+MISC ChangeLog-2015 621 SHA256 1fdcedbd53e4cc5d46d1faf204b479cd86f83a6ee25772db68b7f8e82a81981f SHA512 bbc67d4e45596ad0b9d09e99716734d1dcb8a71d331c500b6ffe09d6d68c6d951e3ae6fdeff9f4f6757129870b468d2642f7ef11f9310d135f0f30afbba42224 WHIRLPOOL 3acf04747fe064d2508459104c0859cfa5078fc894fc6b24ddb6edc516c1185027472c3e65568e06a01440d5f93eb4c54c96a1d8e6d658529709659d9dff79f0
+MISC metadata.xml 1522 SHA256 43f75c24ae5400f8d067dc38821cbbbcbac40e5e8ff8d782cee5c5d7a0316bd7 SHA512 ad8553c7d9333f379ff9fae8f149e7bd519ab39c64d1d5b0195fee2fe27a918159de9f74e577f2c8c196997ddebe51facede20c82f4a29fdd79e5dde242d7f86 WHIRLPOOL 8b533c7e0dcbe161b4f87090459abdac0fa369edae9a9e70f547b49d602e61c494486ec32eb5fb90390492ce7e85c823f12988071eb2c6b4d9eab5f886805cd7
diff --git a/dev-python/zc-buildout/metadata.xml b/dev-python/zc-buildout/metadata.xml
new file mode 100644
index 000000000000..285b4a8f881b
--- /dev/null
+++ b/dev-python/zc-buildout/metadata.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>tupone@gentoo.org</email>
+ <name>Alfredo Tupone</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <longdescription lang="en">Buildout is a system for managing development buildouts. While often identified as a Zope project,
+and indeed licensed under the ZPL by Zope creator Jim Fulton, buildout is useful for configurations
+beyond Zope, and even, in rare cases, a few that have nothing to do with Python.
+The Buildout project provides support for creating applications, especially Python applications. It
+provides tools for assembling applications from multiple parts, Python or otherwise. An application
+may actually contain multiple programs, processes, and configuration settings.
+The word .buildout. refers to a description of a set of parts and the software to create and assemble
+them. It is often used informally to refer to an installed system based on a buildout definition. For
+example, if we are creating an application named .Foo., then .the Foo buildout. is the collection of
+configuration and application-specific software that allows an instance of the application to be
+created. We may refer to such an instance of the application informally as .a Foo buildout..</longdescription>
+ <upstream>
+ <remote-id type="pypi">zc.buildout</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/zc-buildout/zc-buildout-2.5.3-r1.ebuild b/dev-python/zc-buildout/zc-buildout-2.5.3-r1.ebuild
new file mode 100644
index 000000000000..fe4f6403f55c
--- /dev/null
+++ b/dev-python/zc-buildout/zc-buildout-2.5.3-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy pypy3 )
+
+inherit distutils-r1
+
+MY_PN="${PN/-/.}"
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="System for managing development buildouts"
+HOMEPAGE="https://pypi.python.org/pypi/zc.buildout"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="ZPL"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND=">=dev-python/setuptools-3.3[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ test? ( dev-python/zope-testing[${PYTHON_USEDEP}] )"
+
+S="${WORKDIR}"/${MY_P}
+
+DOCS=( README.rst doc/tutorial.txt )
+
+# Prevent incorrect installation of data file
+python_prepare_all() {
+ sed -e '/^ include_package_data/d' -i setup.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ if python_is_python3; then
+ ewarn "Tests are broken for ${EPYTHON}, skipping"
+ continue
+ fi
+
+ distutils_install_for_testing
+ "${PYTHON}" src/zc/buildout/tests.py || die "Tests fail with ${EPYTHON}"
+}
+
+python_install() {
+ distutils-r1_python_install
+
+ python_moduleinto zc
+ python_domodule src/zc/__init__.py
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ find "${D}" -name '*.pth' -delete || die
+}
diff --git a/dev-python/zc-buildout/zc-buildout-2.5.3.ebuild b/dev-python/zc-buildout/zc-buildout-2.5.3.ebuild
new file mode 100644
index 000000000000..a5324fbf46e1
--- /dev/null
+++ b/dev-python/zc-buildout/zc-buildout-2.5.3.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_4} pypy pypy3 )
+
+inherit distutils-r1
+
+MY_PN="${PN/-/.}"
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="System for managing development buildouts"
+HOMEPAGE="https://pypi.python.org/pypi/zc.buildout"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="ZPL"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND=">=dev-python/setuptools-3.3[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ test? ( dev-python/zope-testing[${PYTHON_USEDEP}] )"
+
+S="${WORKDIR}"/${MY_P}
+
+DOCS=( README.rst doc/tutorial.txt )
+
+# Prevent incorrect installation of data file
+python_prepare_all() {
+ sed -e '/^ include_package_data/d' -i setup.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ if python_is_python3; then
+ ewarn "Tests are broken for ${EPYTHON}, skipping"
+ continue
+ fi
+
+ distutils_install_for_testing
+ "${PYTHON}" src/zc/buildout/tests.py || die "Tests fail with ${EPYTHON}"
+}