python-rarfile: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 17:21:39 +07:00
parent 5f8f87546c
commit 300346905c
3 changed files with 19 additions and 31 deletions

View file

@ -1,30 +0,0 @@
# Template file for 'python-rarfile'
pkgname=python-rarfile
version=4.0
revision=1
archs=noarch
wrksrc="rarfile-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="RAR archive reader for Python (Python2)"
maintainer="Daniel Santana <daniel@santana.tech>"
license="ISC"
homepage="https://github.com/markokr/rarfile"
changelog="https://github.com/markokr/rarfile/raw/master/doc/news.rst"
distfiles="${PYPI_SITE}/r/rarfile/rarfile-${version}.tar.gz"
checksum=67548769229c5bda0827c1663dce3f54644f9dbfba4ae86d4da2b2afd3e602a1
post_install() {
vlicense LICENSE
}
python3-rarfile_package() {
archs=noarch
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

View file

@ -1 +0,0 @@
python-rarfile

View file

@ -0,0 +1,19 @@
# Template file for 'python3-rarfile'
pkgname=python3-rarfile
version=4.0
revision=2
wrksrc="rarfile-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="RAR archive reader for Python (Python3)"
maintainer="Daniel Santana <daniel@santana.tech>"
license="ISC"
homepage="https://github.com/markokr/rarfile"
changelog="https://github.com/markokr/rarfile/raw/master/doc/news.rst"
distfiles="${PYPI_SITE}/r/rarfile/rarfile-${version}.tar.gz"
checksum=67548769229c5bda0827c1663dce3f54644f9dbfba4ae86d4da2b2afd3e602a1
post_install() {
vlicense LICENSE
}