python-wheel: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 14:12:59 +07:00
parent 0a898a059d
commit f8d37263ee
3 changed files with 24 additions and 38 deletions

View File

@ -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 <al3hex@gmail.com>"
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
}
}

View File

@ -1 +0,0 @@
python-wheel

View File

@ -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 <orphan@voidlinux.org>"
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
}