From f8d37263eedd810b57367ae37a9650bfae73fbbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 20 Sep 2020 14:12:59 +0700 Subject: [PATCH] python-wheel: drop package --- srcpkgs/python-wheel/template | 37 ---------------------------------- srcpkgs/python3-wheel | 1 - srcpkgs/python3-wheel/template | 24 ++++++++++++++++++++++ 3 files changed, 24 insertions(+), 38 deletions(-) delete mode 100644 srcpkgs/python-wheel/template delete mode 120000 srcpkgs/python3-wheel create mode 100644 srcpkgs/python3-wheel/template diff --git a/srcpkgs/python-wheel/template b/srcpkgs/python-wheel/template deleted file mode 100644 index 6e3cd5c5b95..00000000000 --- a/srcpkgs/python-wheel/template +++ /dev/null @@ -1,37 +0,0 @@ -# Template file for 'python-wheel' -pkgname=python-wheel -version=0.35.1 -revision=1 -archs=noarch -wrksrc="wheel-${version}" -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools" -depends="python-setuptools" -short_desc="Built-package format for Python (Python2)" -maintainer="Alessio Sergi " -license="MIT" -homepage="https://github.com/pypa/wheel" -# upstream forgot to include LICENSE.txt in release -distfiles="${PYPI_SITE}/w/wheel/wheel-${version}.tar.gz - https://raw.githubusercontent.com/pypa/wheel/${version}/LICENSE.txt" -checksum="99a22d87add3f634ff917310a3d87e499f19e663413a52eb9232c447aa646c9f - cca9e20c6af1fcfbf69408f377769286cbeebcded336100c9b4a3f35fbe635e4" -alternatives="wheel:wheel:usr/bin/wheel2" -skip_extraction="LICENSE.txt" - -post_install() { - cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/LICENSE.txt . - vlicense LICENSE.txt -} - -python3-wheel_package() { - archs=noarch - depends="python3-setuptools" - short_desc="${short_desc/Python2/Python3}" - alternatives="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 deleted file mode 120000 index 938bb25beb2..00000000000 --- a/srcpkgs/python3-wheel +++ /dev/null @@ -1 +0,0 @@ -python-wheel \ No newline at end of file diff --git a/srcpkgs/python3-wheel/template b/srcpkgs/python3-wheel/template new file mode 100644 index 00000000000..5b5df9382dc --- /dev/null +++ b/srcpkgs/python3-wheel/template @@ -0,0 +1,24 @@ +# Template file for 'python3-wheel' +pkgname=python3-wheel +version=0.35.1 +revision=2 +wrksrc="wheel-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-setuptools" +short_desc="Built-package format for Python (Python3)" +maintainer="Orphaned " +license="MIT" +homepage="https://github.com/pypa/wheel" +# upstream forgot to include LICENSE.txt in release +distfiles="${PYPI_SITE}/w/wheel/wheel-${version}.tar.gz + https://raw.githubusercontent.com/pypa/wheel/${version}/LICENSE.txt" +checksum="99a22d87add3f634ff917310a3d87e499f19e663413a52eb9232c447aa646c9f + cca9e20c6af1fcfbf69408f377769286cbeebcded336100c9b4a3f35fbe635e4" +conflicts="python-wheel>=0" +skip_extraction="LICENSE.txt" + +post_install() { + cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/LICENSE.txt . + vlicense LICENSE.txt +}