From 1996a1d012482019ea1a690c3810af8b6dd076ca Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Fri, 2 Oct 2015 19:05:36 +0200 Subject: [PATCH] New package: python-atomicwrites-0.1.8 --- srcpkgs/python-atomicwrites/template | 32 ++++++++++++++++++++++++++++ srcpkgs/python3.4-atomicwrites | 1 + 2 files changed, 33 insertions(+) create mode 100644 srcpkgs/python-atomicwrites/template create mode 120000 srcpkgs/python3.4-atomicwrites diff --git a/srcpkgs/python-atomicwrites/template b/srcpkgs/python-atomicwrites/template new file mode 100644 index 00000000000..5194f54bca9 --- /dev/null +++ b/srcpkgs/python-atomicwrites/template @@ -0,0 +1,32 @@ +# Template file for 'python-atomicwrites' +pkgname=python-atomicwrites +version=0.1.8 +revision=1 +noarch=yes +wrksrc="atomicwrites-${version}" +build_style="python-module" +python_versions="2.7 3.4" +hostmakedepends="python-setuptools python3.4-setuptools" +depends="python" +pycompile_module="atomicwrites" +short_desc="Simple Python2 API for atomic file writes" +maintainer="Oliver Kiddle " +license="MIT" +homepage="https://pypi.python.org/pypi/atomicwrites/" +distfiles="${PYPI_SITE}/a/atomicwrites/atomicwrites-${version}.tar.gz" +checksum=3274adb52bd3ae91d87ba923e0f21fd86c05b71bbaefe2ec0d6679c01f98dc8e + +post_install() { + vlicense LICENSE +} + +python3.4-atomicwrites_package() { + noarch=yes + pycompile_version="3.4" + pycompile_module="atomicwrites" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + vlicense LICENSE + } +} diff --git a/srcpkgs/python3.4-atomicwrites b/srcpkgs/python3.4-atomicwrites new file mode 120000 index 00000000000..f3821781d3e --- /dev/null +++ b/srcpkgs/python3.4-atomicwrites @@ -0,0 +1 @@ +python-atomicwrites \ No newline at end of file