From 34792b188276da2dda7221c72c4589bf69b4c6ed Mon Sep 17 00:00:00 2001 From: maxice8 Date: Thu, 9 Nov 2017 07:44:55 -0200 Subject: [PATCH] New package: python-unittest-mixins-1.4. Closes: #9027 [via git-merge-pr] --- srcpkgs/python-unittest-mixins/template | 26 +++++++++++++++++++++++++ srcpkgs/python3-unittest-mixins | 1 + 2 files changed, 27 insertions(+) create mode 100644 srcpkgs/python-unittest-mixins/template create mode 120000 srcpkgs/python3-unittest-mixins diff --git a/srcpkgs/python-unittest-mixins/template b/srcpkgs/python-unittest-mixins/template new file mode 100644 index 0000000000..e1197b4323 --- /dev/null +++ b/srcpkgs/python-unittest-mixins/template @@ -0,0 +1,26 @@ +# Template file for 'python-unittest-mixins' +pkgname=python-unittest-mixins +version=1.4 +revision=1 +wrksrc="${pkgname/python-//}-${version}" +build_style=python-module +pycompile_module="unittest_mixins" +hostmakedepends="python-setuptools python3-setuptools" +depends="python-six" +short_desc="Helpul mixins for unittest classes in Python2" +maintainer="maxice8 " +license="Apache-2.0" +homepage="https://github.com/nedbat/unittest-mixins" +distfiles="${PYPI_SITE}/u/unittest-mixins/unittest-mixins-${version}.tar.gz" +checksum=3979159f81e379416b8f10c3db7bbe9aaaefb7ebb8dcf778e6e5de5150c8281b +noarch=yes + +python3-unittest-mixins_package() { + noarch=yes + pycompile_module="unittest_mixins" + depends="python3-six" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + } +} diff --git a/srcpkgs/python3-unittest-mixins b/srcpkgs/python3-unittest-mixins new file mode 120000 index 0000000000..e0582a42cf --- /dev/null +++ b/srcpkgs/python3-unittest-mixins @@ -0,0 +1 @@ +python-unittest-mixins/ \ No newline at end of file