Date: Tuesday, January 3, 2023 @ 11:49:24
  Author: dvzrv
Revision: 1374916

upgpkg: python-cheroot 9.0.0-3: Actually remove 
python-setuptools-scm-git-archive.

Modified:
  python-cheroot/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-03 11:47:34 UTC (rev 1374915)
+++ PKGBUILD    2023-01-03 11:49:24 UTC (rev 1374916)
@@ -5,7 +5,7 @@
 pkgname=python-cheroot
 pkgdesc="Highly-optimized, pure-python HTTP server"
 pkgver=9.0.0
-pkgrel=2
+pkgrel=3
 arch=('any')
 url="https://github.com/cherrypy/cheroot";
 license=('MIT')
@@ -20,7 +20,7 @@
   'python-pyopenssl: for SSL and certificate handling within cheroot'
 )
 makedepends=('python-build' 'python-installer' 'python-setuptools'
-'python-setuptools-scm' 'python-setuptools-scm-git-archive' 'python-wheel')
+'python-setuptools-scm' 'python-wheel')
 # TODO: package python-pytest-watch
 # TODO: package python-pypytools
 checkdepends=(python-apipkg python-chardet python-colorama
@@ -33,9 +33,10 @@
 
b2sums=('5f5dd172cfc8fdd1318b22fc27060444a34343b6b83bbda4bd40c16d7cb0568c356f5fd14b0a7cdc74895d6707077ec54fcae54fb29b0d16a7c06e2cd36b1ee7')
 
 prepare() {
+  cd $_name-$pkgver
   # remove the use of python-setuptools-scm-git-archive
   # TODO: change upstream (and bump their setuptools-scm use to >= 7.0.5)
-  sed -e '/setuptools_scm_git_archive/d' -i $_name-$pkgver/pyproject.toml
+  sed -e '/setuptools_scm_git_archive/d' -i pyproject.toml setup.cfg 
requirements/*
 }
 
 build() {

Reply via email to