New package: python-peewee-2.10.2
This commit is contained in:
parent
11ee232661
commit
e711c76684
2 changed files with 30 additions and 0 deletions
29
srcpkgs/python-peewee/template
Normal file
29
srcpkgs/python-peewee/template
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# Template file for 'python-peewee'
|
||||||
|
pkgname=python-peewee
|
||||||
|
version=2.10.2
|
||||||
|
revision=1
|
||||||
|
noarch=yes
|
||||||
|
pycompile_module="peewee"
|
||||||
|
wrksrc="peewee-${version}"
|
||||||
|
build_style=python-module
|
||||||
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
|
short_desc="Small and simple ORM for Python2"
|
||||||
|
maintainer="johannes <johannes.brechtmann@gmail.com>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://github.com/coleifer/peewee"
|
||||||
|
distfiles="https://github.com/coleifer/peewee/archive/${version}.tar.gz"
|
||||||
|
checksum=3c745ec22a0e7a315a8a127f9701b6c3edc5eebbc1b229531007c00848ebe853
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
python3-peewee_package() {
|
||||||
|
noarch=yes
|
||||||
|
pycompile_module="peewee"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3-peewee
Symbolic link
1
srcpkgs/python3-peewee
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-peewee
|
Loading…
Reference in a new issue