mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 15:13:51 +02:00
New package: python-pretend-1.0.9
This commit is contained in:
parent
ecae7ac08e
commit
e549249dd9
2 changed files with 33 additions and 0 deletions
32
srcpkgs/python-pretend/template
Normal file
32
srcpkgs/python-pretend/template
Normal 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
1
srcpkgs/python3-pretend
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-pretend
|
Loading…
Add table
Reference in a new issue