David Runge pushed to branch main at Arch Linux / Packaging / Packages / 
python-testrepository


Commits:
03b100ff by David Runge at 2024-11-07T19:59:53+01:00
Switch to upstream provided auto-generated source tarballs for better 
transparency

Signed-off-by: David Runge <[email protected]>

- - - - -
b9d4f28d by David Runge at 2024-11-07T20:02:15+01:00
Switch to correct SPDX license identifier

Signed-off-by: David Runge <[email protected]>

- - - - -
10a2dd47 by David Runge at 2024-11-07T20:03:51+01:00
Use PEP517 build backend instead of project management tool for building

Signed-off-by: David Runge <[email protected]>

- - - - -
30eecf26 by David Runge at 2024-11-07T20:11:37+01:00
Add all direct dependencies

Signed-off-by: David Runge <[email protected]>

- - - - -
0d935d87 by David Runge at 2024-11-07T20:12:58+01:00
Install project license files

Signed-off-by: David Runge <[email protected]>

- - - - -
630c50e1 by David Runge at 2024-11-07T20:15:02+01:00
upgpkg: 0.0.21-2

Rebuild to add license files, use PEP517 build backend and rely on canonical 
upstream sources.

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,23 +1,23 @@
 pkgbase = python-testrepository
        pkgdesc = A repository of test results.
        pkgver = 0.0.21
-       pkgrel = 1
+       pkgrel = 2
        url = https://launchpad.net/testrepository
        arch = any
-       license = Apache
-       license = BSD
+       license = Apache-2.0 OR BSD-3-Clause
        checkdepends = python-testresources
        checkdepends = python-pytz
        checkdepends = python-testscenarios
-       makedepends = python-hatch
+       makedepends = python-hatchling
        makedepends = python-hatch-vcs
        makedepends = python-build
        makedepends = python-installer
        makedepends = python-wheel
+       depends = python
        depends = python-testtools
        depends = python-fixtures
        depends = python-subunit
-       source = 
https://pypi.python.org/packages/source/t/testrepository/testrepository-0.0.21.tar.gz
-       sha512sums = 
c03108434a4ab3145106a6d05f4ff42d6d2b8f103de8dee7e0e829f5a450e838c8f9c7033e97afbc764badcbe2050aa41f2da30c439edb390ce38c73c0244065
+       source = 
python-testrepository-0.0.21.tar.gz::https://github.com/testing-cabal/testrepository/archive/refs/tags/0.0.21.tar.gz
+       sha512sums = 
90fadfc78831f03e42cba08e2dab31fe15dcd61e9d78c726afcd99c84368fff4ff38ff715d60f5573058354ebf6d17e60f981a2bcae953fd95229ee41400ea3d
 
 pkgname = python-testrepository


=====================================
PKGBUILD
=====================================
@@ -2,20 +2,20 @@
 
 pkgname=python-testrepository
 pkgver=0.0.21
-pkgrel=1
+pkgrel=2
 pkgdesc="A repository of test results."
 arch=('any')
-license=('Apache' 'BSD')
+license=('Apache-2.0 OR BSD-3-Clause')
 url="https://launchpad.net/testrepository";
-depends=('python-testtools' 'python-fixtures' 'python-subunit')
-makedepends=('python-hatch' 'python-hatch-vcs' 'python-build' 
'python-installer' 'python-wheel')
+depends=('python' 'python-testtools' 'python-fixtures' 'python-subunit')
+makedepends=('python-hatchling' 'python-hatch-vcs' 'python-build' 
'python-installer' 'python-wheel')
 checkdepends=('python-testresources' 'python-pytz' 'python-testscenarios')
-source=("https://pypi.python.org/packages/source/t/testrepository/testrepository-$pkgver.tar.gz";)
-sha512sums=('c03108434a4ab3145106a6d05f4ff42d6d2b8f103de8dee7e0e829f5a450e838c8f9c7033e97afbc764badcbe2050aa41f2da30c439edb390ce38c73c0244065')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/testing-cabal/testrepository/archive/refs/tags/$pkgver.tar.gz";)
+sha512sums=('90fadfc78831f03e42cba08e2dab31fe15dcd61e9d78c726afcd99c84368fff4ff38ff715d60f5573058354ebf6d17e60f981a2bcae953fd95229ee41400ea3d')
 
 build() {
   cd testrepository-$pkgver
-  python -m build --wheel --no-isolation
+  SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver python -m build --wheel --no-isolation
 }
 
 check() {
@@ -27,4 +27,5 @@ check() {
 package() {
   cd testrepository-$pkgver
   python -m installer --destdir="$pkgdir" dist/*.whl
+  install -vDm 644 Apache-2.0 BSD -t "$pkgdir/usr/share/licenses/$pkgname/"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-testrepository/-/compare/a39ae0e83d2484f52d9deab9dc8d49caabf558da...630c50e12baacd65c86d85343a5637a6d3c0bb4a

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-testrepository/-/compare/a39ae0e83d2484f52d9deab9dc8d49caabf558da...630c50e12baacd65c86d85343a5637a6d3c0bb4a
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to