Date: Saturday, November 26, 2022 @ 18:59:56
Author: dvzrv
Revision: 1354040
archrelease: copy trunk to community-any
Added:
python-gitdb/repos/community-any/PKGBUILD
(from rev 1354039, python-gitdb/trunk/PKGBUILD)
python-gitdb/repos/community-any/keys/
Deleted:
python-gitdb/repos/community-any/PKGBUILD
----------+
PKGBUILD | 106 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 52 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-26 18:59:43 UTC (rev 1354039)
+++ PKGBUILD 2022-11-26 18:59:56 UTC (rev 1354040)
@@ -1,54 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-# 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
-_commit=1c976835c5d1779a28b9e11afd1656152db26a68 # refs/tags/4.0.9^{}
-pkgver=4.0.9
-pkgrel=1
-epoch=1
-url="https://github.com/gitpython-developers/gitdb"
-license=(BSD)
-arch=(any)
-depends=(git python-smmap)
-makedepends=(python-build python-installer python-setuptools python-wheel)
-checkdepends=(python-nose python-pytest)
-# switch to git sources as tarball signatures are broken
-#
source=("https://pypi.org/packages/source/g/${_name}/${_name}-${pkgver}.tar.gz"{,.asc})
-source=(git+$url#commit=$_commit?signed)
-sha512sums=('SKIP')
-validpgpkeys=('27C50E7F590947D7273A741E85194C08421980C9') # Sebastian Thiel
(In Rust I trust!) <[email protected]>
-
-build() {
- cd $_name
- python -m build --wheel --no-isolation
-}
-
-# some tests need to be disabled, because of coupling with the project
-# repository: https://github.com/gitpython-developers/gitdb/issues/51
-check() {
- cd $_name
- local TEST_TMPDIR=$(mktemp -d)
- (
- cd "$TEST_TMPDIR"
- git init
- git config user.name "Test User"
- git config user.email "[email protected]"
- 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"
- pytest -vv -k "not test_pack_writing"
-}
-
-package() {
- cd $_name
- python -m installer --destdir="$pkgdir" dist/*.whl
- 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-any/PKGBUILD (from rev 1354039,
python-gitdb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-26 18:59:56 UTC (rev 1354040)
@@ -0,0 +1,52 @@
+# Maintainer: David Runge <[email protected]>
+# 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
+_commit=bb7d69697b9d24885217b37b94cc0bf4da676fd4 # refs/tags/4.0.10^{}
+pkgver=4.0.10
+pkgrel=1
+epoch=1
+url="https://github.com/gitpython-developers/gitdb"
+license=(BSD)
+arch=(any)
+depends=(git python-smmap)
+makedepends=(git python-build python-installer python-setuptools python-wheel)
+checkdepends=(python-nose python-pytest)
+source=(git+$url#tag=$_commit?signed)
+sha512sums=('SKIP')
+validpgpkeys=('27C50E7F590947D7273A741E85194C08421980C9') # Sebastian Thiel
(In Rust I trust!) <[email protected]>
+
+build() {
+ cd $_name
+ python -m build --wheel --no-isolation
+}
+
+# some tests need to be disabled, because of coupling with the project
+# repository: https://github.com/gitpython-developers/gitdb/issues/51
+check() {
+ cd $_name
+ local TEST_TMPDIR=$(mktemp -d)
+ (
+ cd "$TEST_TMPDIR"
+ git init
+ git config user.name "Test User"
+ git config user.email "[email protected]"
+ 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"
+ pytest -vv -k "not test_pack_writing"
+}
+
+package() {
+ cd $_name
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -vDm 644 {AUTHORS,README.rst} -t "$pkgdir/usr/share/doc/$pkgname/"
+ install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+}