From 7d4dd3f9d1672b387bdc0020d29c0326b0019f0a Mon Sep 17 00:00:00 2001 From: maxice8 Date: Thu, 9 Nov 2017 16:53:52 -0200 Subject: [PATCH] New package: python-wheel-0.30.0. Closes: #9041 [via git-merge-pr] --- srcpkgs/python-wheel/template | 32 ++++++++++++++++++++++++++++++++ srcpkgs/python3-wheel | 1 + 2 files changed, 33 insertions(+) create mode 100644 srcpkgs/python-wheel/template create mode 120000 srcpkgs/python3-wheel diff --git a/srcpkgs/python-wheel/template b/srcpkgs/python-wheel/template new file mode 100644 index 0000000000..347b4732db --- /dev/null +++ b/srcpkgs/python-wheel/template @@ -0,0 +1,32 @@ +# Template file for 'python-wheel' +pkgname=python-wheel +version=0.30.0 +revision=1 +wrksrc="${pkgname/python-//}-${version}" +build_style=python-module +pycompile_module="wheel" +hostmakedepends="python-setuptools python3-setuptools" +short_desc="A built-package format for Python2" +maintainer="maxice8 " +license="MIT" +homepage="https://github.com/pypa/wheel" +distfiles="${PYPI_SITE}/w/wheel/wheel-${version}.tar.gz" +checksum=9515fe0a94e823fd90b08d22de45d7bde57c90edce705b22f5e1ecf7e1b653c8 +alternatives="python-wheel:wheel:usr/bin/wheel2" +noarch=yes + +post_install() { + vlicense LICENSE.txt +} + +python3-wheel_package() { + noarch=yes + pycompile_module="wheel" + short_desc="${short_desc/Python2/Python3}" + alternatives="python-wheel:wheel:usr/bin/wheel3" + pkg_install() { + vmove "usr/bin/*3" + vmove usr/lib/python3* + vlicense LICENSE.txt + } +} diff --git a/srcpkgs/python3-wheel b/srcpkgs/python3-wheel new file mode 120000 index 0000000000..938bb25beb --- /dev/null +++ b/srcpkgs/python3-wheel @@ -0,0 +1 @@ +python-wheel \ No newline at end of file