New package: python3-scandir-1.10.0
This commit is contained in:
parent
38ee0b6b4d
commit
e56461300f
2 changed files with 17 additions and 5 deletions
|
@ -1,19 +1,30 @@
|
|||
# Template file for 'python-scandir'
|
||||
pkgname=python-scandir
|
||||
version=1.10.0
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="scandir-${version}"
|
||||
build_style=python2-module
|
||||
build_style=python-module
|
||||
pycompile_module="scandir.py"
|
||||
hostmakedepends="python-setuptools"
|
||||
makedepends="python-devel"
|
||||
short_desc="Backport of the scandir module from Python 3.5+"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
makedepends="python-devel python3-devel"
|
||||
depends="python"
|
||||
short_desc="Better directory iterator and faster os.walk() (Python2)"
|
||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||
license="BSD-3-Clause"
|
||||
homepage="https://github.com/benhoyt/scandir"
|
||||
distfiles="${PYPI_SITE}/s/scandir/scandir-${version}.tar.gz"
|
||||
checksum=4d4631f6062e658e9007ab3149a9b914f3548cb38bfb021c64f39a025ce578ae
|
||||
|
||||
python3-scandir_package() {
|
||||
pycompile_module="scandir.py"
|
||||
depends="python3"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE.txt
|
||||
}
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE.txt
|
||||
}
|
||||
|
|
1
srcpkgs/python3-scandir
Symbolic link
1
srcpkgs/python3-scandir
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-scandir
|
Loading…
Reference in a new issue