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

Felix Yan felixonmars at archlinux.org
Mon Mar 15 14:07:04 UTC 2021


    Date: Monday, March 15, 2021 @ 14:07:04
  Author: felixonmars
Revision: 891490

upgpkg: python-jaraco.test 5.0.0-1

Modified:
  python-jaraco.test/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++-------------
 1 file changed, 3 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-15 14:04:26 UTC (rev 891489)
+++ PKGBUILD	2021-03-15 14:07:04 UTC (rev 891490)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=python-jaraco.test
-pkgver=4.0.1
+pkgver=5.0.0
 pkgrel=1
 pkgdesc="Testing support by jaraco"
 url="https://github.com/jaraco/jaraco.test"
@@ -10,18 +10,12 @@
 depends=('python-jaraco' 'python-jaraco.context' 'python-toml' 'python-more-itertools')
 makedepends=('python-setuptools-scm')
 checkdepends=('python-pytest-black' 'python-pytest-checkdocs' 'python-pytest-cov'
-              'python-pytest-flake8' 'python-pytest-mypy')
+              'python-pytest-enabler' 'python-pytest-flake8' 'python-pytest-mypy')
 source=("https://github.com/jaraco/jaraco.test/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('56538088f01c0c0e8ee89dd76e2cc37c48893e7319c747ee69e3f89aca41bcd00260d61cdd50601786e932c016b92e0c8f656b4eb4c4e3afae3b18173251051c')
+sha512sums=('5a5c3268b570269f5d18166c9c90973e18acbd14f382c08a8576f8612fc477d739d1e8714aa9cbdf0cb2da9551a0a19da33976ed443449007eb6b300a055f987')
 
 export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
 
-prepare() {
-  cd jaraco.test-$pkgver
-  # The jaraco.test.pytest module is not discovered if no __init__.py is present
-  touch jaraco/test/pytest/__init__.py
-}
-
 build() {
   cd jaraco.test-$pkgver
   python setup.py build
@@ -36,9 +30,5 @@
   cd jaraco.test-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1
 
-  rm "$pkgdir"/usr/lib/python3.9/site-packages/jaraco/__init__.py \
-     "$pkgdir"/usr/lib/python3.9/site-packages/jaraco/__pycache__/__init__.cpython-39.pyc \
-     "$pkgdir"/usr/lib/python3.9/site-packages/jaraco/__pycache__/__init__.cpython-39.opt-1.pyc
-
   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 }



More information about the arch-commits mailing list