New package: python3-pathlib2-2.3.4
This commit is contained in:
parent
e56461300f
commit
39b7fd2420
2 changed files with 18 additions and 6 deletions
|
@ -1,20 +1,31 @@
|
||||||
# Template file for 'python-pathlib2'
|
# Template file for 'python-pathlib2'
|
||||||
pkgname=python-pathlib2
|
pkgname=python-pathlib2
|
||||||
version=2.3.4
|
version=2.3.4
|
||||||
revision=1
|
revision=2
|
||||||
archs=noarch
|
archs=noarch
|
||||||
wrksrc="pathlib2-${version}"
|
wrksrc="pathlib2-${version}"
|
||||||
build_style=python2-module
|
build_style=python-module
|
||||||
pycompile_module="pathlib2.py"
|
pycompile_module="pathlib2"
|
||||||
hostmakedepends="python-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python-six python-scandir"
|
depends="python-six python-scandir"
|
||||||
short_desc="Backport of Python 3.4+ pathlib module"
|
short_desc="Object-oriented filesystem paths (Python2)"
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
homepage="https://github.com/mcmtroffaes/pathlib2"
|
|
||||||
license="MIT"
|
license="MIT"
|
||||||
|
homepage="https://github.com/mcmtroffaes/pathlib2"
|
||||||
distfiles="${PYPI_SITE}/p/pathlib2/pathlib2-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/p/pathlib2/pathlib2-${version}.tar.gz"
|
||||||
checksum=446014523bb9be5c28128c4d2a10ad6bb60769e78bd85658fe44a450674e0ef8
|
checksum=446014523bb9be5c28128c4d2a10ad6bb60769e78bd85658fe44a450674e0ef8
|
||||||
|
|
||||||
|
python3-pathlib2_package() {
|
||||||
|
archs=noarch
|
||||||
|
depends="python3-six python3-scandir"
|
||||||
|
pycompile_module="pathlib2"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
vlicense LICENSE.rst
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE.rst
|
vlicense LICENSE.rst
|
||||||
}
|
}
|
||||||
|
|
1
srcpkgs/python3-pathlib2
Symbolic link
1
srcpkgs/python3-pathlib2
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-pathlib2
|
Loading…
Reference in a new issue