[arch-commits] Commit in python-gitpython/repos/community-staging-any (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Thu Dec 2 15:17:45 UTC 2021
Date: Thursday, December 2, 2021 @ 15:17:45
Author: felixonmars
Revision: 1061977
archrelease: copy trunk to community-staging-any
Added:
python-gitpython/repos/community-staging-any/PKGBUILD
(from rev 1061975, python-gitpython/trunk/PKGBUILD)
Deleted:
python-gitpython/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-02 15:17:44 UTC (rev 1061976)
+++ PKGBUILD 2021-12-02 15:17:45 UTC (rev 1061977)
@@ -1,48 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: NicoHood <archlinux {cat} nicohood {dog} de>
-# Contributor: brent s. <bts[at]square-r00t[dot]net>
-
-_name=gitpython
-pkgdesc="A python library used to interact with Git repositories"
-pkgname=python-gitpython
-pkgver=3.1.24
-pkgrel=2
-url="https://github.com/gitpython-developers/gitpython"
-license=('BSD')
-arch=('any')
-depends=('git' 'python-gitdb')
-makedepends=('python-setuptools')
-checkdepends=('python-ddt' 'python-nose' 'python-pytest' 'python-virtualenv')
-source=("git+https://github.com/gitpython-developers/gitpython.git#tag=${pkgver}?signed")
-sha512sums=('SKIP')
-b2sums=('SKIP')
-validpgpkeys=('27C50E7F590947D7273A741E85194C08421980C9') # Sebastian Thiel (In Rust I trust!) <byronimo at gmail.com>
-
-prepare() {
- # create empty dummy pytest config so that we can deselect all implicit settings
- touch pytest.ini
- cd "${_name}"
-}
-
-build() {
- cd "${_name}"
- python setup.py build
-}
-
-check() {
- cd "${_name}"
- export TRAVIS="VERY CONVENIENT"
- git config --global user.name "Test User"
- git config --global user.email "test at user.org"
- ./init-tests-after-clone.sh
- PYTHONDONTWRITEBYTECODE=1 pytest -v -c ../pytest.ini \
- -k "not test_base and not test_reading and not test_writing"
-}
-
-package() {
- cd "${_name}"
- python setup.py install --optimize=1 --root="${pkgdir}"
- install -vDm 644 {AUTHORS,CHANGES,{CONTRIBUTING,README}.md} \
- -t "${pkgdir}/usr/share/doc/${pkgname}"
- install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
Copied: python-gitpython/repos/community-staging-any/PKGBUILD (from rev 1061975, python-gitpython/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-02 15:17:45 UTC (rev 1061977)
@@ -0,0 +1,48 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: NicoHood <archlinux {cat} nicohood {dog} de>
+# Contributor: brent s. <bts[at]square-r00t[dot]net>
+
+_name=gitpython
+pkgdesc="A python library used to interact with Git repositories"
+pkgname=python-gitpython
+pkgver=3.1.24
+pkgrel=3
+url="https://github.com/gitpython-developers/gitpython"
+license=('BSD')
+arch=('any')
+depends=('git' 'python-gitdb')
+makedepends=('python-setuptools')
+checkdepends=('python-ddt' 'python-nose' 'python-pytest' 'python-virtualenv')
+source=("git+https://github.com/gitpython-developers/gitpython.git#tag=${pkgver}?signed")
+sha512sums=('SKIP')
+b2sums=('SKIP')
+validpgpkeys=('27C50E7F590947D7273A741E85194C08421980C9') # Sebastian Thiel (In Rust I trust!) <byronimo at gmail.com>
+
+prepare() {
+ # create empty dummy pytest config so that we can deselect all implicit settings
+ touch pytest.ini
+ cd "${_name}"
+}
+
+build() {
+ cd "${_name}"
+ python setup.py build
+}
+
+check() {
+ cd "${_name}"
+ export TRAVIS="VERY CONVENIENT"
+ git config --global user.name "Test User"
+ git config --global user.email "test at user.org"
+ ./init-tests-after-clone.sh
+ PYTHONDONTWRITEBYTECODE=1 pytest -v -c ../pytest.ini \
+ -k "not test_base and not test_reading and not test_writing"
+}
+
+package() {
+ cd "${_name}"
+ python setup.py install --optimize=1 --root="${pkgdir}"
+ install -vDm 644 {AUTHORS,CHANGES,{CONTRIBUTING,README}.md} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+}
More information about the arch-commits
mailing list