From 704d68bf54341a27e63220c8ef6d9ec172ed12bb Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Wed, 25 Jan 2017 12:24:59 -0600 Subject: [PATCH] New package: python-GitPython-2.1.1 Closes: #5700 [via git-merge-pr] --- srcpkgs/python-GitPython/template | 29 +++++++++++++++++++++++++++++ srcpkgs/python3-GitPython | 1 + 2 files changed, 30 insertions(+) create mode 100644 srcpkgs/python-GitPython/template create mode 120000 srcpkgs/python3-GitPython diff --git a/srcpkgs/python-GitPython/template b/srcpkgs/python-GitPython/template new file mode 100644 index 00000000000..df31c0a3763 --- /dev/null +++ b/srcpkgs/python-GitPython/template @@ -0,0 +1,29 @@ +# Template file for 'python-GitPython' +pkgname=python-GitPython +version=2.1.1 +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 " +homepage="https://github.com/gitpython-developers/GitPython" +license="BSD" +distfiles="${PYPI_SITE}/G/GitPython/GitPython-${version}.tar.gz" +checksum=e96f8e953cf9fee0a7599fc587667591328760b6341a0081ef311a942fc96204 + +post_install() { + vlicense LICENSE +} + +python3-GitPython_package() { + noarch=yes + depends="python3-gitdb" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + } +} diff --git a/srcpkgs/python3-GitPython b/srcpkgs/python3-GitPython new file mode 120000 index 00000000000..0ba8c376911 --- /dev/null +++ b/srcpkgs/python3-GitPython @@ -0,0 +1 @@ +python-GitPython \ No newline at end of file