parent
d5e2822126
commit
30d30ac9ce
2 changed files with 32 additions and 0 deletions
31
srcpkgs/python-pathtools/template
Normal file
31
srcpkgs/python-pathtools/template
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# Template file for 'python-pathtools'
|
||||||
|
pkgname=python-pathtools
|
||||||
|
version=0.1.2
|
||||||
|
revision=1
|
||||||
|
noarch=yes
|
||||||
|
wrksrc="pathtools-${version}"
|
||||||
|
build_style=python-module
|
||||||
|
pycompile_module="pathtools"
|
||||||
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
|
depends="python"
|
||||||
|
short_desc="File system general utilities (Python2)"
|
||||||
|
maintainer="Maurizio Porrato <maurizio.porrato@gmail.com>"
|
||||||
|
homepage="https://github.com/gorakhargosh/pathtools"
|
||||||
|
license="MIT"
|
||||||
|
distfiles="${PYPI_SITE}/p/pathtools/pathtools-${version}.tar.gz"
|
||||||
|
checksum=7c35c5421a39bb82e58018febd90e3b6e5db34c5443aaaf742b3f33d4655f1c0
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
python3-pathtools_package() {
|
||||||
|
noarch=yes
|
||||||
|
pycompile_module="pathtools"
|
||||||
|
depends="python3"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3-pathtools
Symbolic link
1
srcpkgs/python3-pathtools
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-pathtools
|
Loading…
Add table
Add a link
Reference in a new issue