From c28f385631483c6493f62e26f6c0022f61456d7d Mon Sep 17 00:00:00 2001 From: Steve Prybylski Date: Sat, 22 Aug 2015 18:28:23 -0400 Subject: [PATCH] New package: python-greenlet --- srcpkgs/python-greenlet/template | 29 +++++++++++++++++++++++++++++ srcpkgs/python3.4-greenlet | 1 + 2 files changed, 30 insertions(+) create mode 100644 srcpkgs/python-greenlet/template create mode 120000 srcpkgs/python3.4-greenlet diff --git a/srcpkgs/python-greenlet/template b/srcpkgs/python-greenlet/template new file mode 100644 index 00000000000..2e916fcb88f --- /dev/null +++ b/srcpkgs/python-greenlet/template @@ -0,0 +1,29 @@ +# Template file for 'python-greenlet' +pkgname=python-greenlet +version=0.4.7 +revision=1 +build_style="python-module" +python_versions="2.7 3.4" +hostmakedepends="python-setuptools python3.4-setuptools unzip" +makedepends="python-devel python3.4-devel" +short_desc="Lightweight in-process concurrent programming (Python2)" +maintainer="Steve Prybylski " +license="MIT" +homepage="http://pypi.python.org/pypi/greenlet" +distfiles="${PYPI_SITE}/g/greenlet/greenlet-${version}.zip" +checksum="f32c4fa4e06443e1bdb0d32b69e7617c25ff772c3ffc6d0aa63d192e9fd795fe" +wrksrc="greenlet-${version}" + +post_install() { + vlicense LICENSE +} + +python3.4-greenlet_package() { + pycompile_version="3.4" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + vmove usr/include/python3.4m + vlicense LICENSE + } +} diff --git a/srcpkgs/python3.4-greenlet b/srcpkgs/python3.4-greenlet new file mode 120000 index 00000000000..02a0d85bae6 --- /dev/null +++ b/srcpkgs/python3.4-greenlet @@ -0,0 +1 @@ +python-greenlet \ No newline at end of file