void-packages/srcpkgs/python-gitdb/template

32 lines
800 B
Bash
Raw Normal View History

2017-01-25 18:42:45 +00:00
# Template file for 'python-gitdb'
pkgname=python-gitdb
2017-06-15 13:01:22 +00:00
version=2.0.2
2017-01-25 18:42:45 +00:00
revision=1
noarch=yes
wrksrc="gitdb2-${version}"
build_style=python-module
pycompile_module="gitdb"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-smmap"
short_desc="Pure-Python git object database (Python2)"
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
homepage="https://github.com/gitpython-developers/gitdb"
license="BSD"
distfiles="${PYPI_SITE}/g/gitdb2/gitdb2-${version}.tar.gz"
2017-06-15 13:01:22 +00:00
checksum=f2e36d7561e91f30a6a44858756dc020d8f1e81ca6e4185979d5c6c24c648070
post_install() {
vlicense LICENSE
}
2017-01-25 18:42:45 +00:00
python3-gitdb_package() {
noarch=yes
depends="python3-smmap"
pycompile_module="gitdb"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
2017-06-15 13:01:22 +00:00
vlicense LICENSE
2017-01-25 18:42:45 +00:00
}
}