[arch-commits] Commit in python-gitpython/trunk (PKGBUILD)
Date: Wednesday, April 6, 2022 @ 10:11:40 Author: dvzrv Revision: 1181591 upgpkg: python-gitpython 3.1.27-1: Upgrade to 3.1.27. Switch to a pinned commit instead of relying on a signed tag directly. Switch to PEP517. Remove unneeded quotes and curly braces. Remove unneeded prepare(). Modified: python-gitpython/trunk/PKGBUILD --+ PKGBUILD | 41 + 1 file changed, 17 insertions(+), 24 deletions(-) Modified: PKGBUILD === --- PKGBUILD2022-04-06 09:59:58 UTC (rev 1181590) +++ PKGBUILD2022-04-06 10:11:40 UTC (rev 1181591) @@ -5,44 +5,37 @@ _name=gitpython pkgdesc="A python library used to interact with Git repositories" pkgname=python-gitpython -pkgver=3.1.24 -pkgrel=3 +_commit=d438e088278f2df10b3c38bd635d7207cb7548a6 # refs/tags/3.1.27^{} +pkgver=3.1.27 +pkgrel=1 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;) +license=(BSD) +arch=(any) +depends=(git python-gitdb) +makedepends=(python-build python-installer python-setuptools python-wheel) +checkdepends=(python-ddt python-nose python-pytest python-virtualenv) +source=(git+$url#commit=$_commit?signed) sha512sums=('SKIP') b2sums=('SKIP') validpgpkeys=('27C50E7F590947D7273A741E85194C08421980C9') # Sebastian Thiel (In Rust I trust!) -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 + cd $_name + python -m build --wheel --no-isolation } check() { - cd "${_name}" + cd $_name export TRAVIS="VERY CONVENIENT" git config --global user.name "Test User" git config --global user.email "t...@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" + PYTHONDONTWRITEBYTECODE=1 pytest -v -c /dev/null -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}/" + cd $_name + python -m installer --destdir="$pkgdir" dist/*.whl + install -vDm 644 {AUTHORS,CHANGES,{CONTRIBUTING,README}.md} -t "$pkgdir/usr/share/doc/$pkgname/" + install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" }
[arch-commits] Commit in python-gitpython/trunk (PKGBUILD)
Date: Thursday, December 2, 2021 @ 15:17:36 Author: felixonmars Revision: 1061971 upgpkg: python-gitpython 3.1.24-3: Python 3.10 rebuild Modified: python-gitpython/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-12-02 15:17:33 UTC (rev 1061970) +++ PKGBUILD2021-12-02 15:17:36 UTC (rev 1061971) @@ -6,7 +6,7 @@ pkgdesc="A python library used to interact with Git repositories" pkgname=python-gitpython pkgver=3.1.24 -pkgrel=2 +pkgrel=3 url="https://github.com/gitpython-developers/gitpython; license=('BSD') arch=('any')
[arch-commits] Commit in python-gitpython/trunk (PKGBUILD)
Date: Wednesday, December 1, 2021 @ 14:56:36 Author: felixonmars Revision: 1059567 upgpkg: python-gitpython 3.1.24-2: Python 3.10 rebuild Modified: python-gitpython/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-12-01 14:56:35 UTC (rev 1059566) +++ PKGBUILD2021-12-01 14:56:36 UTC (rev 1059567) @@ -6,7 +6,7 @@ pkgdesc="A python library used to interact with Git repositories" pkgname=python-gitpython pkgver=3.1.24 -pkgrel=1 +pkgrel=2 url="https://github.com/gitpython-developers/gitpython; license=('BSD') arch=('any')
[arch-commits] Commit in python-gitpython/trunk (PKGBUILD)
Date: Sunday, September 19, 2021 @ 20:57:27 Author: dvzrv Revision: 1017773 upgpkg: python-gitpython 3.1.24-1: Upgrade to 3.1.24. Add dummy pytest file to unset all implicit pytest configuration. Simplify installation in package() to adhere to python package guidelines. Modified: python-gitpython/trunk/PKGBUILD --+ PKGBUILD | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-19 20:28:38 UTC (rev 1017772) +++ PKGBUILD2021-09-19 20:57:27 UTC (rev 1017773) @@ -5,7 +5,7 @@ _name=gitpython pkgdesc="A python library used to interact with Git repositories" pkgname=python-gitpython -pkgver=3.1.18 +pkgver=3.1.24 pkgrel=1 url="https://github.com/gitpython-developers/gitpython; license=('BSD') @@ -18,6 +18,12 @@ b2sums=('SKIP') validpgpkeys=('27C50E7F590947D7273A741E85194C08421980C9') # Sebastian Thiel (In Rust I trust!) +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 @@ -29,14 +35,13 @@ git config --global user.name "Test User" git config --global user.email "t...@user.org" ./init-tests-after-clone.sh - PYTHONDONTWRITEBYTECODE=1 pytest -v -k 'not test_reading and not test_writing and not test_base and not test_index_file_diffing' + 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 --skip-build \ - --optimize=1 \ - --root="${pkgdir}" + 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}/"
[arch-commits] Commit in python-gitpython/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 18:02:06 Author: dvzrv Revision: 966007 upgpkg: python-gitpython 3.1.18-1: Upgrade to 3.1.18. Modified: python-gitpython/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 17:34:56 UTC (rev 966006) +++ PKGBUILD2021-06-20 18:02:06 UTC (rev 966007) @@ -5,7 +5,7 @@ _name=gitpython pkgdesc="A python library used to interact with Git repositories" pkgname=python-gitpython -pkgver=3.1.17 +pkgver=3.1.18 pkgrel=1 url="https://github.com/gitpython-developers/gitpython; license=('BSD')
[arch-commits] Commit in python-gitpython/trunk (PKGBUILD)
Date: Monday, May 31, 2021 @ 16:51:13 Author: dvzrv Revision: 952823 upgpkg: python-gitpython 3.1.17-1: Upgrade to 3.1.17. Modified: python-gitpython/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-05-31 16:50:26 UTC (rev 952822) +++ PKGBUILD2021-05-31 16:51:13 UTC (rev 952823) @@ -5,7 +5,7 @@ _name=gitpython pkgdesc="A python library used to interact with Git repositories" pkgname=python-gitpython -pkgver=3.1.14 +pkgver=3.1.17 pkgrel=1 url="https://github.com/gitpython-developers/gitpython; license=('BSD')
[arch-commits] Commit in python-gitpython/trunk (PKGBUILD)
Date: Sunday, February 28, 2021 @ 12:20:43 Author: dvzrv Revision: 875876 upgpkg: python-gitpython 3.1.14-1: Upgrade to 3.1.14. Modified: python-gitpython/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-02-28 12:14:16 UTC (rev 875875) +++ PKGBUILD2021-02-28 12:20:43 UTC (rev 875876) @@ -5,7 +5,7 @@ _name=gitpython pkgdesc="A python library used to interact with Git repositories" pkgname=python-gitpython -pkgver=3.1.13 +pkgver=3.1.14 pkgrel=1 url="https://github.com/gitpython-developers/gitpython; license=('BSD')
[arch-commits] Commit in python-gitpython/trunk (PKGBUILD)
Date: Thursday, February 11, 2021 @ 11:55:28 Author: dvzrv Revision: 855832 upgpkg: python-gitpython 3.1.13-1: Upgrade to 3.1.13. Modified: python-gitpython/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-02-11 11:51:02 UTC (rev 855831) +++ PKGBUILD2021-02-11 11:55:28 UTC (rev 855832) @@ -5,7 +5,7 @@ _name=gitpython pkgdesc="A python library used to interact with Git repositories" pkgname=python-gitpython -pkgver=3.1.12 +pkgver=3.1.13 pkgrel=1 url="https://github.com/gitpython-developers/gitpython; license=('BSD')
[arch-commits] Commit in python-gitpython/trunk (PKGBUILD)
Date: Thursday, January 7, 2021 @ 14:49:36 Author: dvzrv Revision: 811984 upgpkg: python-gitpython 3.1.12-1: Upgrade to 3.1.12. Disable more failing tests. Modified: python-gitpython/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-01-07 14:36:13 UTC (rev 811983) +++ PKGBUILD2021-01-07 14:49:36 UTC (rev 811984) @@ -5,8 +5,8 @@ _name=gitpython pkgdesc="A python library used to interact with Git repositories" pkgname=python-gitpython -pkgver=3.1.11 -pkgrel=2 +pkgver=3.1.12 +pkgrel=1 url="https://github.com/gitpython-developers/gitpython; license=('BSD') arch=('any') @@ -29,7 +29,7 @@ git config --global user.name "Test User" git config --global user.email "t...@user.org" ./init-tests-after-clone.sh - PYTHONDONTWRITEBYTECODE=1 pytest -v -k 'not test_reading and not test_writing and not test_base' + PYTHONDONTWRITEBYTECODE=1 pytest -v -k 'not test_reading and not test_writing and not test_base and not test_index_file_diffing' } package() {