From 5ebebdb9af88aec602bfe6225ab53748842735e8 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Wed, 2 Dec 2015 12:51:00 +0100 Subject: [PATCH] New package: python-traitlets-4.0.0 --- srcpkgs/python-traitlets/template | 28 ++++++++++++++++++++++++++++ srcpkgs/python-traitlets/update | 1 + srcpkgs/python3.4-traitlets | 1 + 3 files changed, 30 insertions(+) create mode 100644 srcpkgs/python-traitlets/template create mode 100644 srcpkgs/python-traitlets/update create mode 120000 srcpkgs/python3.4-traitlets diff --git a/srcpkgs/python-traitlets/template b/srcpkgs/python-traitlets/template new file mode 100644 index 0000000000..3af7f9ed47 --- /dev/null +++ b/srcpkgs/python-traitlets/template @@ -0,0 +1,28 @@ +# Template file for 'python-traitlets' +pkgname=python-traitlets +version=4.0.0 +revision=1 +noarch=yes +wrksrc="traitlets-${version}" +build_style=python-module +python_versions="2.7 3.4" +hostmakedepends="python-setuptools python3.4-setuptools" +depends="python-decorator python-ipython_genutils" +pycompile_module="traitlets" +short_desc="Configuration system for Python2 applications" +maintainer="Alessio Sergi " +homepage="https://github.com/ipython/traitlets" +license="3-clause-BSD" +distfiles="${PYPI_SITE}/t/traitlets/traitlets-${version}.tar.gz" +checksum=0b140b4a94a4f1951887d9bce4650da211f79600fc9fdb422acc90c5bbe0233b + +python3.4-traitlets_package() { + noarch=yes + depends="python3.4-decorator python3.4-ipython_genutils" + pycompile_version="3.4" + pycompile_module="traitlets" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + } +} diff --git a/srcpkgs/python-traitlets/update b/srcpkgs/python-traitlets/update new file mode 100644 index 0000000000..d40d474e5d --- /dev/null +++ b/srcpkgs/python-traitlets/update @@ -0,0 +1 @@ +ignore="*b* *dev*" diff --git a/srcpkgs/python3.4-traitlets b/srcpkgs/python3.4-traitlets new file mode 120000 index 0000000000..8c3427bfe9 --- /dev/null +++ b/srcpkgs/python3.4-traitlets @@ -0,0 +1 @@ +python-traitlets \ No newline at end of file