[arch-commits] Commit in twine/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Aug 13 15:01:02 UTC 2020


    Date: Thursday, August 13, 2020 @ 15:01:02
  Author: felixonmars
Revision: 677420

upgpkg: twine 3.0.0-1

Modified:
  twine/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-13 15:00:51 UTC (rev 677419)
+++ PKGBUILD	2020-08-13 15:01:02 UTC (rev 677420)
@@ -2,21 +2,22 @@
 # Contributor: Chris Warrick <aur at chriswarrick.com>
 
 pkgname=twine
-pkgver=2.0.0
+pkgver=3.0.0
 pkgrel=1
 pkgdesc='Collection of utilities for interacting with PyPI'
 arch=('any')
 url='https://pypi.python.org/pypi/twine'
 license=('Apache')
-depends=('python-setuptools' 'python-requests-toolbelt' 'python-pkginfo' 'python-tqdm'
-         'python-readme-renderer' 'python-keyring')
+depends=('python-pkginfo' 'python-readme-renderer' 'python-requests' 'python-requests-toolbelt'
+         'python-setuptools' 'python-tqdm' 'python-keyring')
 makedepends=('python-setuptools-scm')
+checkdepends=('git' 'python-munch' 'python-jaraco.envs' 'python-portend' 'python-pretend'
+              'python-pytest-services')
 provides=('python-twine')
 conflicts=('python-twine')
 replaces=('python-twine')
-checkdepends=('python-pytest-runner' 'python-pretend')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/pypa/twine/archive/$pkgver.tar.gz")
-sha512sums=('a13d1f3fb547f41356d222befdfa0aa293876844c872222c68d0e6acaa1f97e2f6be9ea0c7815ac054bb826b61679692fa6e9f8eb861c70a1c87b4ede4442f2b')
+sha512sums=('1f5577c74c47618ae07672b53633110a5ecb486d25046cb87f36cbf5974b679714f962803b9dc6e970c57d8f2542b323e11437e76effe7172511557b56df5f12')
 
 export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
 
@@ -27,7 +28,8 @@
 
 check() {
   cd twine-$pkgver
-  python setup.py pytest
+  python setup.py egg_info
+  python -m pytest
 }
 
 package() {



More information about the arch-commits mailing list