New package: python-pretend-1.0.9

This commit is contained in:
Piotr Wójcik 2019-08-24 15:21:01 +02:00 committed by Piotr
parent ecae7ac08e
commit e549249dd9
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,32 @@
# Template file for 'python-pretend'
pkgname=python-pretend
version=1.0.9
revision=1
archs=noarch
wrksrc="pretend-${version}"
build_style=python-module
pycompile_module="pretend"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Make stubbing with Python2 easier"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="BSD-3-Clause"
homepage="https://github.com/alex/pretend"
distfiles="${PYPI_SITE}/p/pretend/pretend-${version}.tar.gz"
checksum=c90eb810cde8ebb06dafcb8796f9a95228ce796531bc806e794c2f4649aa1b10
post_install() {
vdoc README.rst
vlicense LICENSE.rst
}
python3-pretend_package() {
depends="python3"
pycompile_module="pretend"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vdoc README.rst
vlicense LICENSE.rst
}
}

1
srcpkgs/python3-pretend Symbolic link
View file

@ -0,0 +1 @@
python-pretend