vp-build/srcpkgs/python-GitPython/template

31 lines
817 B
Bash

# Template file for 'python-GitPython'
pkgname=python-GitPython
version=2.1.11
revision=1
noarch=yes
wrksrc="GitPython-${version}"
build_style=python-module
pycompile_module="git"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-gitdb"
short_desc="Library to interact with Git repositories (Python2)"
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
license="BSD-3-Clause"
homepage="https://github.com/gitpython-developers/GitPython"
distfiles="${PYPI_SITE}/G/GitPython/GitPython-${version}.tar.gz"
checksum=8237dc5bfd6f1366abeee5624111b9d6879393d84745a507de0fda86043b65a8
post_install() {
vlicense LICENSE
}
python3-GitPython_package() {
noarch=yes
depends="python3-gitdb"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}