From d93add7a010af470827fd68a288367c1fedd9956 Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Wed, 25 Jan 2017 12:42:45 -0600 Subject: [PATCH] New package: python-gitdb-2.0.0 --- srcpkgs/python-gitdb/template | 29 +++++++++++++++++++++++++++++ srcpkgs/python3-gitdb | 1 + 2 files changed, 30 insertions(+) create mode 100644 srcpkgs/python-gitdb/template create mode 120000 srcpkgs/python3-gitdb diff --git a/srcpkgs/python-gitdb/template b/srcpkgs/python-gitdb/template new file mode 100644 index 0000000000..1ba55daec3 --- /dev/null +++ b/srcpkgs/python-gitdb/template @@ -0,0 +1,29 @@ +# Template file for 'python-gitdb' +pkgname=python-gitdb +version=2.0.0 +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 " +homepage="https://github.com/gitpython-developers/gitdb" +license="BSD" +distfiles="${PYPI_SITE}/g/gitdb2/gitdb2-${version}.tar.gz" +checksum=b9f3209b401b8b4da5f94966c9c17650e66b7474ee5cd2dde5d983d1fba3ab66 + +python3-gitdb_package() { + noarch=yes + depends="python3-smmap" + pycompile_module="gitdb" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + } +} +post_install() { + vlicense LICENSE +} diff --git a/srcpkgs/python3-gitdb b/srcpkgs/python3-gitdb new file mode 120000 index 0000000000..93f880126f --- /dev/null +++ b/srcpkgs/python3-gitdb @@ -0,0 +1 @@ +python-gitdb \ No newline at end of file