From 93d6e8a4e5e562ab712a1bd54f4b53dadcc1a315 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Wed, 1 Feb 2017 10:55:51 +0100 Subject: [PATCH] New package: python-constantly-15.1.0 --- srcpkgs/python-constantly/template | 31 ++++++++++++++++++++++++++++++ srcpkgs/python3-constantly | 1 + 2 files changed, 32 insertions(+) create mode 100644 srcpkgs/python-constantly/template create mode 120000 srcpkgs/python3-constantly diff --git a/srcpkgs/python-constantly/template b/srcpkgs/python-constantly/template new file mode 100644 index 00000000000..828bb04e4a7 --- /dev/null +++ b/srcpkgs/python-constantly/template @@ -0,0 +1,31 @@ +# Template file for 'python-constantly' +pkgname=python-constantly +version=15.1.0 +revision=1 +noarch=yes +wrksrc="constantly-${version}" +build_style=python-module +pycompile_module="constantly" +hostmakedepends="python-setuptools python3-setuptools" +depends="python" +short_desc="Symbolic constants in Python (Python2)" +maintainer="Juan RP " +homepage="https://github.com/twisted/constantly" +license="MIT" +distfiles="${PYPI_SITE}/c/constantly/constantly-${version}.tar.gz" +checksum=586372eb92059873e29eba4f9dec8381541b4d3834660707faf8ba59146dfc35 + +post_install() { + vlicense LICENSE +} + +python3-constantly_package() { + noarch=yes + depends="python3" + pycompile_module="constantly" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + vlicense LICENSE + } +} diff --git a/srcpkgs/python3-constantly b/srcpkgs/python3-constantly new file mode 120000 index 00000000000..9f28e618569 --- /dev/null +++ b/srcpkgs/python3-constantly @@ -0,0 +1 @@ +python-constantly \ No newline at end of file