Date: Friday, November 18, 2022 @ 11:41:08
  Author: dvzrv
Revision: 1349541

upgpkg: python-ansible-compat 2.2.5-1: Upgrade to 2.2.5.

Remove now unneeded patch.

Modified:
  python-ansible-compat/trunk/PKGBUILD
Deleted:
  python-ansible-compat/trunk/python-ansible-compat-2.2.4-dependencies.patch

------------------------------------------------+
 PKGBUILD                                       |   21 +++++----------------
 python-ansible-compat-2.2.4-dependencies.patch |   15 ---------------
 2 files changed, 5 insertions(+), 31 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-11-18 11:32:36 UTC (rev 1349540)
+++ PKGBUILD    2022-11-18 11:41:08 UTC (rev 1349541)
@@ -2,30 +2,19 @@
 
 _name=ansible-compat
 pkgname=python-ansible-compat
-pkgver=2.2.4
-pkgrel=2
+pkgver=2.2.5
+pkgrel=1
 pkgdesc="Functions that help interacting with various versions of Ansible"
 arch=(any)
 url="https://github.com/ansible-community/ansible-compat";
 license=(MIT)
-# python-packaging is a direct dependency: 
https://github.com/ansible/ansible-compat/issues/169
 depends=(python-jsonschema python-packaging python-pyyaml 
python-subprocess-tee)
 makedepends=(python-build python-installer python-setuptools 
python-setuptools-scm python-wheel)
 checkdepends=(ansible python-flaky python-pytest python-pytest-mock)
-source=(
-  
https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz
-  $pkgname-2.2.4-dependencies.patch
-)
-sha256sums=('6a2c3ade5005530cdfdd8e961c784b1718f17ad480a1be5a8014bff89c9c9c2e'
-            'c35e029bba2dd65cc7b6881abf3c3c7dccfc5075a6cbaf8bd87e5b54716b71a3')
-b2sums=('a4874675086956e11de4df4068e3b17b65b4f9f7610bb88bfba308d880fe478e39a4450a362bb06a555a36a41731f336c51756893ebe65715fc022421c51a293'
-        
'2f9144e6bbc56d85bb7ee24c4f81c68554c9057b003d45b26ea35634352284ddcb430f26475bce8d4e24f6da3d2dc0c221da87ea245e892168f0d26a3febe12e')
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha256sums=('28c7c545fd60ef9c3059cfb2fefd27f92db091ff6b5868f83f121ceb5e1fe1b5')
+b2sums=('25a5c858eb3e120b7f51b8800b01eff2482a03d0e5f5c049d4ff2bc96ab2c01e856284f3328d5c9e3621b2d769df4450c9427997b48a7ddd337b01aa777e0c28')
 
-prepare() {
-  # remove python-setuptools-scm-git-archive from makedepends: 
https://github.com/ansible/ansible-compat/pull/186
-  patch -Np1 -d $_name-$pkgver -i ../$pkgname-2.2.4-dependencies.patch
-}
-
 build() {
   cd $_name-$pkgver
   python -m build --wheel --skip-dependency-check --no-isolation

Deleted: python-ansible-compat-2.2.4-dependencies.patch
===================================================================
--- python-ansible-compat-2.2.4-dependencies.patch      2022-11-18 11:32:36 UTC 
(rev 1349540)
+++ python-ansible-compat-2.2.4-dependencies.patch      2022-11-18 11:41:08 UTC 
(rev 1349541)
@@ -1,15 +0,0 @@
-diff --git c/pyproject.toml w/pyproject.toml
-index 2f2aa27..8e28a5f 100644
---- c/pyproject.toml
-+++ w/pyproject.toml
-@@ -1,9 +1,7 @@
- [build-system]
- requires = [
-   "setuptools >= 45.0.0", # required by pyproject+setuptools_scm integration
--  "setuptools_scm >= 6.3.1", # required for "no-local-version" scheme
--  "setuptools_scm_git_archive >= 1.0",
--  "wheel",
-+  "setuptools_scm[toml] >= 7.0.0", # required for "no-local-version" scheme
- ]
- build-backend = "setuptools.build_meta"
- 

Reply via email to