Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / 
python-fixtures


Commits:
72b11871 by Carl Smedstad at 2024-12-28T18:37:17+01:00
Update maintainer/contributor comments

- - - - -
7d6e1b87 by Carl Smedstad at 2024-12-28T18:38:00+01:00
Use SPDX license identifier

- - - - -
836b6fe7 by Carl Smedstad at 2024-12-28T18:38:28+01:00
Re-format - one dep per line

- - - - -
39bec9a9 by Carl Smedstad at 2024-12-28T18:50:06+01:00
upgpkg: 4.2.2-1: Upstream release

https://github.com/testing-cabal/fixtures/releases/tag/4.2.2

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,17 +1,18 @@
 pkgbase = python-fixtures
-       pkgdesc = Fixtures, reusable state for writing clean tests and more
-       pkgver = 4.1.0
-       pkgrel = 5
-       url = https://launchpad.net/python-fixtures
+       pkgdesc = Python fixtures for testing / resource management
+       pkgver = 4.2.2
+       pkgrel = 1
+       url = https://github.com/testing-cabal/fixtures
        arch = any
-       license = Apache
+       license = Apache-2.0 OR BSD-3-Clause
        checkdepends = python-testtools
-       makedepends = python-setuptools
        makedepends = python-build
        makedepends = python-installer
+       makedepends = python-setuptools
        makedepends = python-wheel
+       depends = python
        depends = python-pbr
-       source = 
https://pypi.io/packages/source/f/fixtures/fixtures-4.1.0.tar.gz
-       sha512sums = 
6897449fdefd07abe7714186b366fdf4505283f6747f8fa4d17044bc45da58eb36e69d89381527ccecb98e6c62c58bc6d4f558af41cbfc87b0221ae60ba71ff6
+       source = 
https://github.com/testing-cabal/fixtures/archive/4.2.2/fixtures-4.2.2.tar.gz
+       sha512sums = 
7587a2f2b051dfbe0f63c1fd0d4a0cc0761c3ec75361f5401421045a8732a666ae271d3afb10094901acf8c495a7f30df44192c88a0db0c725efac63862a7b54
 
 pkgname = python-fixtures


=====================================
PKGBUILD
=====================================
@@ -1,34 +1,40 @@
-# Maintainer: Felix Yan <[email protected]>
+# Maintainer: Carl Smedstad <[email protected]>
+# Contributor: Felix Yan <[email protected]>
 
 pkgname=python-fixtures
-pkgver=4.1.0
-pkgrel=5
-pkgdesc="Fixtures, reusable state for writing clean tests and more"
+pkgver=4.2.2
+pkgrel=1
+pkgdesc="Python fixtures for testing / resource management"
 arch=('any')
-license=('Apache')
-url="https://launchpad.net/python-fixtures";
-depends=('python-pbr')
-makedepends=('python-setuptools' 'python-build' 'python-installer' 
'python-wheel')
+license=('Apache-2.0 OR BSD-3-Clause')
+url="https://github.com/testing-cabal/fixtures";
+depends=(
+  'python'
+  'python-pbr'
+)
+makedepends=(
+  'python-build'
+  'python-installer'
+  'python-setuptools'
+  'python-wheel'
+)
 checkdepends=('python-testtools')
-source=("https://pypi.io/packages/source/f/fixtures/fixtures-$pkgver.tar.gz";)
-sha512sums=('6897449fdefd07abe7714186b366fdf4505283f6747f8fa4d17044bc45da58eb36e69d89381527ccecb98e6c62c58bc6d4f558af41cbfc87b0221ae60ba71ff6')
-
-prepare() {
-  cd fixtures-$pkgver
-  sed -i 's/import mock/from unittest import mock/' 
fixtures/tests/_fixtures/test_mockpatch.py
-}
+source=("$url/archive/$pkgver/${pkgname#python-}-$pkgver.tar.gz")
+sha512sums=('7587a2f2b051dfbe0f63c1fd0d4a0cc0761c3ec75361f5401421045a8732a666ae271d3afb10094901acf8c495a7f30df44192c88a0db0c725efac63862a7b54')
 
 build() {
-  cd fixtures-$pkgver
+  cd ${pkgname#python-}-$pkgver
+  export PBR_VERSION=$pkgver
   python -m build --wheel --no-isolation
 }
 
 check() {
-  cd fixtures-$pkgver
+  cd ${pkgname#python-}-$pkgver
   python -m testtools.run fixtures.test_suite
 }
 
 package() {
-  cd fixtures-$pkgver
+  cd ${pkgname#python-}-$pkgver
   python -m installer --destdir="$pkgdir" dist/*.whl
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" COPYING BSD
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-fixtures/-/compare/62793e7cbdb1ca3987e957c4e96766de4f23ee32...39bec9a9229e9c6bc7c6b9e2c4cef2c53f8c468f

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-fixtures/-/compare/62793e7cbdb1ca3987e957c4e96766de4f23ee32...39bec9a9229e9c6bc7c6b9e2c4cef2c53f8c468f
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to