From 4adf82158ae29ad9abfe2326be84bb6c938571fb Mon Sep 17 00:00:00 2001 From: Toyam Cox Date: Tue, 16 Aug 2016 00:00:31 -0400 Subject: [PATCH] New package: python-zope.component-4.2.2 --- srcpkgs/python-zope.component/template | 33 ++++++++++++++++++++++++++ srcpkgs/python3.4-zope.component | 1 + 2 files changed, 34 insertions(+) create mode 100644 srcpkgs/python-zope.component/template create mode 120000 srcpkgs/python3.4-zope.component diff --git a/srcpkgs/python-zope.component/template b/srcpkgs/python-zope.component/template new file mode 100644 index 00000000000..4b2403da9c6 --- /dev/null +++ b/srcpkgs/python-zope.component/template @@ -0,0 +1,33 @@ +# Template file for 'python-zope.component' +pkgname=python-zope.component +version=4.2.2 +revision=1 +_distname=zope.component +wrksrc="${_distname}-${version}" +build_style=python-module +pycompile_module="zope" +python_versions="2.7 3.4" +pycompile_version="2.7" +noarch=yes +hostmakedepends="python-setuptools python3.4-setuptools" +short_desc="The Python2 core of the Zope Component Architecture" +maintainer="Toyam Cox " +license="ZPL-2.1" +homepage="https://github.com/zopefoundation/zope.component" +distfiles="${PYPI_SITE}/$(printf %.1s $_distname)/${_distname}/${_distname}-${version}.tar.gz" +checksum=282c112b55dd8e3c869a3571f86767c150ab1284a9ace2bdec226c592acaf81a + +post_install() { + vlicense LICENSE.txt +} + +python3.4-zope.component_package() { + noarch=yes + depends="${depends/python-/python3.4-}" + pycompile_version="3.4" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + vlicense LICENSE.txt + } +} diff --git a/srcpkgs/python3.4-zope.component b/srcpkgs/python3.4-zope.component new file mode 120000 index 00000000000..d2cff176aac --- /dev/null +++ b/srcpkgs/python3.4-zope.component @@ -0,0 +1 @@ +python-zope.component \ No newline at end of file