[arch-commits] Commit in python-jaraco.context/trunk (PKGBUILD)

Evangelos Foutras foutrelis at gemini.archlinux.org
Tue Feb 15 13:23:33 UTC 2022


    Date: Tuesday, February 15, 2022 @ 13:23:32
  Author: foutrelis
Revision: 1133359

upgpkg: python-jaraco.context 4.1.1-2: drop a couple of deps

jaraco.apt and yg.lockfile were removed for v4.0.0. [1]

Also drop most of the check deps as they don't appear to be required.

[1] https://github.com/jaraco/jaraco.context/commit/23d17bf1f04b

Modified:
  python-jaraco.context/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-15 13:05:42 UTC (rev 1133358)
+++ PKGBUILD	2022-02-15 13:23:32 UTC (rev 1133359)
@@ -2,16 +2,14 @@
 
 pkgname=python-jaraco.context
 pkgver=4.1.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Context managers by jaraco"
 url="https://github.com/jaraco/jaraco.context"
 license=('MIT')
 arch=('any')
-depends=('python-jaraco' 'python-yg.lockfile')
+depends=('python')
 makedepends=('python-setuptools-scm' 'python-toml')
-checkdepends=('python-pytest-black' 'python-pytest-checkdocs' 'python-pytest-cov'
-              'python-pytest-flake8' 'python-pytest-mypy' 'python-jaraco.test'
-              'python-pip')
+checkdepends=('python-pytest')
 source=("https://github.com/jaraco/jaraco.context/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
 sha512sums=('d1def3f0f701d36f584a60c57837d5e4bf9121c5ce8387f734ac371164f5ba0fe04b73d4d0e16367cfcd6a13cf11ab5dab2afe798f18dfddba15700fe6779fe0')
 
@@ -19,9 +17,6 @@
 
 prepare() {
   cd jaraco.context-$pkgver
-  sed -i '/import jaraco.apt/d' jaraco/context.py
-  # Ignore flake8 error introduced by the above apt workaround
-  echo -e '\nper-file-ignores =\n\tjaraco/context.py: F821' >> .flake8
 }
 
 build() {



More information about the arch-commits mailing list