New package: python-utils-2.2.0
This commit is contained in:
parent
6d5448e59b
commit
ff55bae2b2
2 changed files with 31 additions and 0 deletions
30
srcpkgs/python-utils/template
Normal file
30
srcpkgs/python-utils/template
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Template file for 'python-utils'
|
||||
pkgname=python-utils
|
||||
version=2.2.0
|
||||
revision=1
|
||||
build_style=python-module
|
||||
wrksrc="python-utils-${version}"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
makedepends="python-devel python3-devel"
|
||||
depends="python-six"
|
||||
pycompile_module="python_utils"
|
||||
short_desc="Convenient utilities not included with the standard Python install "
|
||||
maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
|
||||
license="3-Clause-BSD"
|
||||
homepage="https://github.com/WoLpH/python-utils"
|
||||
distfiles="https://github.com/WoLpH/python-utils/archive/v${version}.tar.gz"
|
||||
checksum=5ee886412312adf91756be6b69090fb21fe55c0305910d5459c954430cdd1acc
|
||||
|
||||
pkg_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
python3-utils_package() {
|
||||
depends="python3-six"
|
||||
pycompile_module="python_utils"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
1
srcpkgs/python3-utils
Symbolic link
1
srcpkgs/python3-utils
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-utils/
|
Loading…
Reference in a new issue