summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/python_modules/python-gitdb/PKGBUILD54
1 files changed, 42 insertions, 12 deletions
diff --git a/abs/core/python_modules/python-gitdb/PKGBUILD b/abs/core/python_modules/python-gitdb/PKGBUILD
index 258d97e..7403f17 100644
--- a/abs/core/python_modules/python-gitdb/PKGBUILD
+++ b/abs/core/python_modules/python-gitdb/PKGBUILD
@@ -1,19 +1,49 @@
-# Contributor: Jon Bergli Heier <snakebite@jvnv.net>
-pkgname=python-gitdb
-pkgver=0.5.2
+# Maintainer: NicoHood <archlinux {cat} nicohood {dog} de>
+# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161
+# Contributor: Carl George < arch at cgtx dot us >
+
+_pkgname=python-gitdb
+_pypiname=gitdb2
+pkgbase=python-gitdb
+pkgdesc="A pure-Python git object database"
+pkgname=('python-gitdb' 'python2-gitdb')
+pkgver=2.0.3
pkgrel=1
-pkgdesc="IO of git-style object databases"
-arch=('i686' 'x86_64')
-url="http://pypi.python.org/pypi/gitdb"
+url="https://github.com/gitpython-developers/gitdb"
license=('BSD')
-depends=('python2' 'python-async')
-source=("http://pypi.python.org/packages/source/g/gitdb/gitdb-${pkgver}.tar.gz")
+arch=("any")
+makedepends=('python' 'python-setuptools' 'python2' 'python2-setuptools')
+source=("${_pkgname}-${pkgver}.tar.gz::https://pypi.org/packages/source/g/${_pypiname}/${_pypiname}-${pkgver}.tar.gz")
+# "${_pkgname}-${pkgver}.tar.gz.asc::https://pypi.org/packages/source/g/${_pypiname}/${_pypiname}-${pkgver}.tar.gz.asc")
+#sha512sums=('4be643b933b47f5511702aa9df5c3210847f059dff9a4794779040660cd60c5af7de5072eb18bc17971edba9a5551e9ba51dbe360194b7d454ee4f23348c8063'
+# 'SKIP')
+#validpgpkeys=('4477ADC5977D7C60D2A7E3789FEE1C6A3B07188F') # Sebastian Thiel (In Rust I trust!) <byronimo@gmail.com>
+prepare() {
+ cp -a "${srcdir}/${_pypiname}-${pkgver}"{,-py2}
+}
build() {
- cd "$srcdir/gitdb-$pkgver"
- python2 setup.py install --root="$pkgdir/" || return 1
+ cd "${srcdir}/${_pypiname}-${pkgver}"
+ python setup.py build
+
+ cd "${srcdir}/${_pypiname}-${pkgver}-py2"
+ python2 setup.py build
+}
+
+package_python-gitdb() {
+ depends=('python' 'python-smmap>=2.0.0')
+
+ cd "${srcdir}/${_pypiname}-${pkgver}"
+ python setup.py install --skip-build --root="${pkgdir}" --optimize=1
+ install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
-# vim:set ts=2 sw=2 et:
-md5sums=('98655385607aed62101318051f7c9364')
+package_python2-gitdb() {
+ depends=('python2' 'python2-smmap>=2.0.0')
+
+ cd "${srcdir}/${_pypiname}-${pkgver}-py2"
+ python2 setup.py install --skip-build --root="${pkgdir}" --optimize=1
+ install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+md5sums=('d5217eb94ebd36fcec62b929d1f72b00')