From 7449114571a01e64ffde12a71ac8b6a2f88cb551 Mon Sep 17 00:00:00 2001 From: Toyam Cox Date: Thu, 11 Feb 2016 03:34:40 -0500 Subject: [PATCH] New package: python-bitarray-0.8.1 --- srcpkgs/python-bitarray/template | 31 +++++++++++++++++++++++++++++++ srcpkgs/python3.4-bitarray | 1 + 2 files changed, 32 insertions(+) create mode 100644 srcpkgs/python-bitarray/template create mode 120000 srcpkgs/python3.4-bitarray diff --git a/srcpkgs/python-bitarray/template b/srcpkgs/python-bitarray/template new file mode 100644 index 00000000000..0bcb87eb5a6 --- /dev/null +++ b/srcpkgs/python-bitarray/template @@ -0,0 +1,31 @@ +# Template file for 'python-bitarray' +pkgname=python-bitarray +version=0.8.1 +revision=1 +_realname=bitarray +wrksrc=$_realname-$version +pycompile_module="${_realname}.py" +python_versions="2.7 3.4" +build_style=python-module +hostmakedepends="python-devel python-setuptools + python3.4-devel python3.4-setuptools" +makedepends="python-devel python3.4-devel libcurl-devel" +short_desc="Python object type for efficiently representing arrays of booleans" +maintainer="Toyam Cox " +license="Python Software Foundation" +homepage="https://github.com/ilanschnell/bitarray" +distfiles="https://github.com/ilanschnell/${_realname}/archive/${version}.tar.gz" +checksum=428212974285eacf9f3b4a6fb60f365d727ab6e30b98de4eb2f238a7b0dd4b50 + +python3.4-bitarray_package() { + short_desc="${short_desc/Python/Python3.4}" + pycompile_version="3.4" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/lib/python3.4 + } +} + +post_install() { + vlicense LICENSE +} diff --git a/srcpkgs/python3.4-bitarray b/srcpkgs/python3.4-bitarray new file mode 120000 index 00000000000..c55edb1690b --- /dev/null +++ b/srcpkgs/python3.4-bitarray @@ -0,0 +1 @@ +python-bitarray \ No newline at end of file