[arch-commits] Commit in twine/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat Oct 26 06:16:35 UTC 2019


    Date: Saturday, October 26, 2019 @ 06:16:35
  Author: foutrelis
Revision: 520249

archrelease: copy trunk to community-staging-any

Added:
  twine/repos/community-staging-any/
  twine/repos/community-staging-any/PKGBUILD
    (from rev 520248, twine/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: twine/repos/community-staging-any/PKGBUILD (from rev 520248, twine/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-26 06:16:35 UTC (rev 520249)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Chris Warrick <aur at chriswarrick.com>
+
+pkgname=twine
+pkgver=1.15.0
+pkgrel=2
+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')
+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=('e0eae05c108e1e766a0a8ec684e3423b0537c8aa671675f30403171fd4f48ec65666d407df53f6dd9eefa0b98e5fd2fdf7dbf1f0f9150686c499de131f6f2435')
+
+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
+}



More information about the arch-commits mailing list