31 lines
816 B
Bash
31 lines
816 B
Bash
# Template file for 'python-GitPython'
|
|
pkgname=python-GitPython
|
|
version=2.1.7
|
|
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>"
|
|
homepage="https://github.com/gitpython-developers/GitPython"
|
|
license="3-clause-BSD"
|
|
distfiles="${PYPI_SITE}/G/GitPython/GitPython-${version}.tar.gz"
|
|
checksum=13c7cd99c2bf277fc99accfc25148752fa90e7cc6c6d08a3f01d229dacb461d9
|
|
|
|
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
|
|
}
|
|
}
|