void-packages/srcpkgs/python-gitdb/template
2018-07-16 04:25:53 -03:00

32 lines
809 B
Bash

# Template file for 'python-gitdb'
pkgname=python-gitdb
version=2.0.4
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>"
license="BSD-3-Clause"
homepage="https://github.com/gitpython-developers/gitdb"
distfiles="${PYPI_SITE}/g/gitdb2/gitdb2-${version}.tar.gz"
checksum=bb4c85b8a58531c51373c89f92163b92f30f81369605a67cd52d1fc21246c044
post_install() {
vlicense LICENSE
}
python3-gitdb_package() {
noarch=yes
depends="python3-smmap"
pycompile_module="gitdb"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}