[arch-commits] Commit in python-gitdb/repos/community-staging-any (PKGBUILD PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Wed Nov 11 15:16:49 UTC 2020


    Date: Wednesday, November 11, 2020 @ 15:16:48
  Author: foutrelis
Revision: 751052

archrelease: copy trunk to community-staging-any

Added:
  python-gitdb/repos/community-staging-any/PKGBUILD
    (from rev 751051, python-gitdb/trunk/PKGBUILD)
Deleted:
  python-gitdb/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |  120 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 60 insertions(+), 60 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-11 15:16:47 UTC (rev 751051)
+++ PKGBUILD	2020-11-11 15:16:48 UTC (rev 751052)
@@ -1,60 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: NicoHood <archlinux {cat} nicohood {dog} de>
-# Contributor: Carl George < arch at cgtx dot us >
-
-_name=gitdb
-pkgdesc="A pure-Python git object database"
-pkgname=python-gitdb
-pkgver=4.0.5
-pkgrel=2
-epoch=1
-url="https://github.com/gitpython-developers/gitdb"
-license=('BSD')
-arch=('any')
-depends=('git' 'python-smmap')
-makedepends=('python-setuptools')
-checkdepends=('python-nose')
-source=("https://pypi.org/packages/source/g/${_name}/${_name}-${pkgver}.tar.gz"{,.asc})
-sha512sums=('a3f562928a863121c4051663a0674aa94937527b2fc40a7f392d2913d4d1443bda278e2f7cf362d499389691d24a2d965ab89a6533d42a157db3ab629a377e83'
-            'SKIP')
-validpgpkeys=('2CF6E0B51AAF73F09B1C21174D1DA68C88710E60') # Sebastian Thiel (In Rust I trust!) <byronimo at gmail.com>
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
-}
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  python setup.py build
-}
-
-# some tests need to be disabled, because of coupling with the project
-# repository: https://github.com/gitpython-developers/gitdb/issues/51
-check() {
-  cd "${pkgname}-${pkgver}"
-  local TEST_TMPDIR=$(mktemp -d)
-  (
-    cd "$TEST_TMPDIR"
-    git init
-    git config user.name "Test User"
-    git config user.email "test at user.org"
-    for commit in {1..50}; do
-      touch "file${commit}"
-      git add "file${commit}"
-      git commit -m "file${commit}"
-    done
-  )
-  export GITDB_TEST_GIT_REPO_BASE="${TEST_TMPDIR}/.git"
-  nosetests -vd -e 'test_pack_writing'
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  python setup.py install --skip-build \
-                          --optimize=1 \
-                          --prefix=/usr \
-                          --root="${pkgdir}"
-  install -vDm 644 {AUTHORS,README.rst} \
-    -t "${pkgdir}/usr/share/doc/${pkgname}/"
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
-}

Copied: python-gitdb/repos/community-staging-any/PKGBUILD (from rev 751051, python-gitdb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-11 15:16:48 UTC (rev 751052)
@@ -0,0 +1,60 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: NicoHood <archlinux {cat} nicohood {dog} de>
+# Contributor: Carl George < arch at cgtx dot us >
+
+_name=gitdb
+pkgdesc="A pure-Python git object database"
+pkgname=python-gitdb
+pkgver=4.0.5
+pkgrel=3
+epoch=1
+url="https://github.com/gitpython-developers/gitdb"
+license=('BSD')
+arch=('any')
+depends=('git' 'python-smmap')
+makedepends=('python-setuptools')
+checkdepends=('python-nose')
+source=("https://pypi.org/packages/source/g/${_name}/${_name}-${pkgver}.tar.gz"{,.asc})
+sha512sums=('a3f562928a863121c4051663a0674aa94937527b2fc40a7f392d2913d4d1443bda278e2f7cf362d499389691d24a2d965ab89a6533d42a157db3ab629a377e83'
+            'SKIP')
+validpgpkeys=('2CF6E0B51AAF73F09B1C21174D1DA68C88710E60') # Sebastian Thiel (In Rust I trust!) <byronimo at gmail.com>
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py build
+}
+
+# some tests need to be disabled, because of coupling with the project
+# repository: https://github.com/gitpython-developers/gitdb/issues/51
+check() {
+  cd "${pkgname}-${pkgver}"
+  local TEST_TMPDIR=$(mktemp -d)
+  (
+    cd "$TEST_TMPDIR"
+    git init
+    git config user.name "Test User"
+    git config user.email "test at user.org"
+    for commit in {1..50}; do
+      touch "file${commit}"
+      git add "file${commit}"
+      git commit -m "file${commit}"
+    done
+  )
+  export GITDB_TEST_GIT_REPO_BASE="${TEST_TMPDIR}/.git"
+  nosetests -vd -e 'test_pack_writing'
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py install --skip-build \
+                          --optimize=1 \
+                          --prefix=/usr \
+                          --root="${pkgdir}"
+  install -vDm 644 {AUTHORS,README.rst} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}/"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+}



More information about the arch-commits mailing list