[arch-commits] Commit in twine/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Aug 13 15:01:11 UTC 2020
Date: Thursday, August 13, 2020 @ 15:01:11
Author: felixonmars
Revision: 677421
archrelease: copy trunk to community-any
Added:
twine/repos/community-any/PKGBUILD
(from rev 677420, twine/trunk/PKGBUILD)
Deleted:
twine/repos/community-any/PKGBUILD
----------+
PKGBUILD | 76 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 39 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-13 15:01:02 UTC (rev 677420)
+++ PKGBUILD 2020-08-13 15:01:11 UTC (rev 677421)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Chris Warrick <aur at chriswarrick.com>
-
-pkgname=twine
-pkgver=2.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')
-makedepends=('python-setuptools-scm')
-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')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
- cd twine-$pkgver
- python setup.py build
-}
-
-check() {
- cd twine-$pkgver
- python setup.py pytest
-}
-
-package() {
- cd twine-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- ln -s twine "$pkgdir"/usr/bin/twine3
-}
Copied: twine/repos/community-any/PKGBUILD (from rev 677420, twine/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-08-13 15:01:11 UTC (rev 677421)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Chris Warrick <aur at chriswarrick.com>
+
+pkgname=twine
+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-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')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pypa/twine/archive/$pkgver.tar.gz")
+sha512sums=('1f5577c74c47618ae07672b53633110a5ecb486d25046cb87f36cbf5974b679714f962803b9dc6e970c57d8f2542b323e11437e76effe7172511557b56df5f12')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+ cd twine-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd twine-$pkgver
+ python setup.py egg_info
+ python -m pytest
+}
+
+package() {
+ cd twine-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ ln -s twine "$pkgdir"/usr/bin/twine3
+}
More information about the arch-commits
mailing list