From ac983e96bcbb6742b5af2369a474da006d44f58f Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sat, 1 Aug 2015 19:20:46 +0200 Subject: [PATCH] New package: python-namedlist-1.4 --- srcpkgs/python-namedlist/template | 28 ++++++++++++++++++++++++++++ srcpkgs/python-namedlist/update | 1 + srcpkgs/python3.4-namedlist | 1 + 3 files changed, 30 insertions(+) create mode 100644 srcpkgs/python-namedlist/template create mode 100644 srcpkgs/python-namedlist/update create mode 120000 srcpkgs/python3.4-namedlist diff --git a/srcpkgs/python-namedlist/template b/srcpkgs/python-namedlist/template new file mode 100644 index 00000000000..4225ff35a2f --- /dev/null +++ b/srcpkgs/python-namedlist/template @@ -0,0 +1,28 @@ +# Template file for 'python-namedlist' +pkgname=python-namedlist +version=1.4 +revision=1 +noarch=yes +wrksrc="namedlist-${version}" +build_style=python-module +python_versions="2.7 3.4" +hostmakedepends="python-setuptools python3.4-setuptools" +depends="python" +pycompile_module="namedlist" +short_desc="Similar to namedtuple, but instances are mutable" +maintainer="Christian Neukirchen " +homepage="https://bitbucket.org/ericvsmith/namedlist" +license="Apache-2.0" +distfiles="${PYPI_SITE}/n/namedlist/namedlist-${version}.tar.gz" +checksum=d361816745b106347203bac3442021ef33c7b1334268417f23316732ccd57b15 + +python3.4-namedlist_package() { + noarch=yes + depends="python3.4" + pycompile_version="3.4" + pycompile_module="namedlist" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + } +} diff --git a/srcpkgs/python-namedlist/update b/srcpkgs/python-namedlist/update new file mode 100644 index 00000000000..e9b0a0a5ea4 --- /dev/null +++ b/srcpkgs/python-namedlist/update @@ -0,0 +1 @@ +ignore="*b*" diff --git a/srcpkgs/python3.4-namedlist b/srcpkgs/python3.4-namedlist new file mode 120000 index 00000000000..df1c7622ef2 --- /dev/null +++ b/srcpkgs/python3.4-namedlist @@ -0,0 +1 @@ +python-namedlist \ No newline at end of file