30 lines
737 B
Bash
30 lines
737 B
Bash
# Template file for 'python-py'
|
|
pkgname=python-py
|
|
version=1.5.2
|
|
revision=1
|
|
wrksrc="${pkgname/python-//}-${version}"
|
|
build_style=python-module
|
|
pycompile_module="py"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
short_desc="Python2 development support library"
|
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://github.com/pytest-dev/py"
|
|
distfiles="https://github.com/pytest-dev/py/archive/${version}.tar.gz"
|
|
checksum=c1a23fb4c6cc181dbb207117190adefcad757e742c2a25ba8fed63bd55712634
|
|
noarch=yes
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-py_package() {
|
|
noarch=yes
|
|
pycompile_module="py"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|