From e0c0872cf239b50d34ccd975557e3cefc6c8aed8 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Thu, 22 Jun 2017 11:54:03 +0200 Subject: [PATCH] New package: python-fasteners-0.14.1 --- srcpkgs/python-fasteners/template | 32 +++++++++++++++++++++++++++++++ srcpkgs/python3-fasteners | 1 + srcpkgs/python3.4-fasteners | 1 + 3 files changed, 34 insertions(+) create mode 100644 srcpkgs/python-fasteners/template create mode 120000 srcpkgs/python3-fasteners create mode 120000 srcpkgs/python3.4-fasteners diff --git a/srcpkgs/python-fasteners/template b/srcpkgs/python-fasteners/template new file mode 100644 index 00000000000..0a5d0c78037 --- /dev/null +++ b/srcpkgs/python-fasteners/template @@ -0,0 +1,32 @@ +# Template file for 'python-fasteners' +pkgname=python-fasteners +version=0.14.1 +revision=1 +noarch=yes +wrksrc="fasteners-${version}" +build_style=python-module +hostmakedepends="python-setuptools python3-setuptools" +pycompile_module="fasteners" +short_desc="Python package that provides useful locks" +maintainer="Leah Neukirchen " +homepage="https://pypi.python.org/pypi/fasteners" +license="Apache-2.0" +distfiles="${PYPI_SITE}/f/fasteners/fasteners-${version}.tar.gz" +checksum=427c76773fe036ddfa41e57d89086ea03111bbac57c55fc55f3006d027107e18 + +python3-fasteners_package() { + noarch=yes + depends="python3-six" + pycompile_module="fasteners" + replaces="python3.4-fasteners>=0" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + } +} +python3.4-fasteners_package() { + noarch=yes + build_style=meta + short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)" + depends="python3-fasteners>=${version}_${revision}" +} diff --git a/srcpkgs/python3-fasteners b/srcpkgs/python3-fasteners new file mode 120000 index 00000000000..0ca3f5f1810 --- /dev/null +++ b/srcpkgs/python3-fasteners @@ -0,0 +1 @@ +python-fasteners \ No newline at end of file diff --git a/srcpkgs/python3.4-fasteners b/srcpkgs/python3.4-fasteners new file mode 120000 index 00000000000..0ca3f5f1810 --- /dev/null +++ b/srcpkgs/python3.4-fasteners @@ -0,0 +1 @@ +python-fasteners \ No newline at end of file