mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
New package: python-rarfile-3.0
This commit is contained in:
parent
36da7ea2f9
commit
eb5bc6ac85
2 changed files with 32 additions and 0 deletions
31
srcpkgs/python-rarfile/template
Normal file
31
srcpkgs/python-rarfile/template
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Template file for 'python-rarfile'
|
||||
pkgname=python-rarfile
|
||||
version=3.0
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc="rarfile-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="rarfile"
|
||||
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"
|
||||
distfiles="${PYPI_SITE}/r/rarfile/rarfile-${version}.tar.gz"
|
||||
checksum=e816409e3b36794507cbe0b678bed3e4703d7412c5f7f9201a510ed6fdc66c35
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
python3-rarfile_package() {
|
||||
noarch=yes
|
||||
pycompile_module="rarfile"
|
||||
depends="python3"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
1
srcpkgs/python3-rarfile
Symbolic link
1
srcpkgs/python3-rarfile
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-rarfile
|
Loading…
Add table
Reference in a new issue