[arch-commits] Commit in python-pytest-enabler/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Sun Jul 31 17:42:08 UTC 2022


    Date: Sunday, July 31, 2022 @ 17:42:08
  Author: arojas
Revision: 1259355

upgpkg: python-pytest-enabler 1.3.0-1: Update to 1.3.0

Modified:
  python-pytest-enabler/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-31 17:37:45 UTC (rev 1259354)
+++ PKGBUILD	2022-07-31 17:42:08 UTC (rev 1259355)
@@ -1,20 +1,20 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=python-pytest-enabler
-pkgver=1.2.1
-pkgrel=2
+pkgver=1.3.0
+pkgrel=1
 pkgdesc='Enable installed pytest plugins'
 arch=('any')
 license=('MIT')
 url='https://github.com/jaraco/pytest-enabler'
 depends=('python-jaraco.context' 'python-jaraco.functools' 'python-toml')
-makedepends=('python-setuptools-scm')
+makedepends=('python-build' 'python-installer' 'python-setuptools-scm' 'python-wheel')
 checkdepends=('python-jaraco.test' 'python-pytest-black' 'python-pytest-checkdocs'
               'python-pytest-cov' 'python-pytest-flake8' 'python-pytest-mypy'
               'python-pip')
 source=("https://github.com/jaraco/pytest-enabler/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
         "https://files.pythonhosted.org/packages/source/t/types-toml/types-toml-0.10.1.tar.gz")
-sha512sums=('15762f966203d574e9e6b7c3fbeac2de9815a4ce264e603518d4edfbc82bc1faef2ad50d4508063d6a878033de03be457c59545f0712ca7cc71d183eb86f15a6'
+sha512sums=('20abe21f6e56ab2e327f5340f72d58391012cbda4ca87f5e632db3636c95b47562c4d848f46f90c0363ad0963ed6fb3fb8da073cc9538f0116d488821898dbe5'
             '001757f956dd3af0688a6544b90ba415b26ab3128e0fbb238f4dfaf0bab6b5795d5598bcc9422d854ea235acbc9e78b245c17f9ebc9ad9251ae3c0722b382812')
 
 export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
@@ -27,18 +27,17 @@
 
 build() {
   cd pytest-enabler-$pkgver
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
   cd pytest-enabler-$pkgver
-  python setup.py egg_info
   PYTHONPATH="$PWD" pytest
 }
 
 package() {
   cd pytest-enabler-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 }
 



More information about the arch-commits mailing list