[arch-commits] Commit in twine/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Mar 8 01:56:16 UTC 2018
Date: Thursday, March 8, 2018 @ 01:56:15
Author: felixonmars
Revision: 304167
archrelease: copy trunk to community-any
Added:
twine/repos/community-any/PKGBUILD
(from rev 304166, twine/trunk/PKGBUILD)
Deleted:
twine/repos/community-any/PKGBUILD
----------+
PKGBUILD | 118 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 59 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-08 01:55:51 UTC (rev 304166)
+++ PKGBUILD 2018-03-08 01:56:15 UTC (rev 304167)
@@ -1,59 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Chris Warrick <aur at chriswarrick.com>
-
-pkgbase=twine
-pkgname=('twine' 'python2-twine')
-pkgver=1.9.1
-pkgrel=1
-pkgdesc='Collection of utilities for interacting with PyPI'
-arch=('any')
-url='https://pypi.python.org/pypi/twine'
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-requests-toolbelt'
- 'python2-requests-toolbelt' 'python-pkginfo' 'python2-pkginfo' 'python-tqdm'
- 'python2-tqdm')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pretend' 'python2-pretend')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/pypa/twine/archive/$pkgver.tar.gz")
-sha512sums=('SKIP')
-
-prepare() {
- cp -a twine-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/twine-$pkgver
- python setup.py build
-
- cd "$srcdir"/twine-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/twine-$pkgver
- python setup.py pytest
-
- cd "$srcdir"/twine-$pkgver-py2
- python2 setup.py pytest
-}
-
-package_twine() {
- depends=('python-setuptools' 'python-requests-toolbelt' 'python-pkginfo' 'python-tqdm')
- provides=('python-twine')
- conflicts=('python-twine')
- replaces=('python-twine')
-
- cd twine-$pkgver
- python3 setup.py install --root="$pkgdir" --optimize=1
- ln -s twine "$pkgdir"/usr/bin/twine3
-}
-
-package_python2-twine() {
- depends=('python2-setuptools' 'python2-requests-toolbelt' 'python2-pkginfo' 'python2-tqdm')
-
- cd twine-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- mv "$pkgdir"/usr/bin/twine{,2}
-}
-
-# vim:set ts=2 sw=2 et:
Copied: twine/repos/community-any/PKGBUILD (from rev 304166, twine/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-03-08 01:56:15 UTC (rev 304167)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Chris Warrick <aur at chriswarrick.com>
+
+pkgbase=twine
+pkgname=('twine' 'python2-twine')
+pkgver=1.10.0
+pkgrel=1
+pkgdesc='Collection of utilities for interacting with PyPI'
+arch=('any')
+url='https://pypi.python.org/pypi/twine'
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-requests-toolbelt'
+ 'python2-requests-toolbelt' 'python-pkginfo' 'python2-pkginfo' 'python-tqdm'
+ 'python2-tqdm')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pretend' 'python2-pretend')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/pypa/twine/archive/$pkgver.tar.gz")
+sha512sums=('7e0dc174fb9e68eb9fa7a9d99f129d27683527608ea3eef7156494a293a231e768341af8c97c3fab2e0bbfba5a01bdd6092568c1e40467d360277540ae4f1268')
+
+prepare() {
+ cp -a twine-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/twine-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/twine-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/twine-$pkgver
+ python setup.py pytest
+
+ cd "$srcdir"/twine-$pkgver-py2
+ python2 setup.py pytest
+}
+
+package_twine() {
+ depends=('python-setuptools' 'python-requests-toolbelt' 'python-pkginfo' 'python-tqdm')
+ provides=('python-twine')
+ conflicts=('python-twine')
+ replaces=('python-twine')
+
+ cd twine-$pkgver
+ python3 setup.py install --root="$pkgdir" --optimize=1
+ ln -s twine "$pkgdir"/usr/bin/twine3
+}
+
+package_python2-twine() {
+ depends=('python2-setuptools' 'python2-requests-toolbelt' 'python2-pkginfo' 'python2-tqdm')
+
+ cd twine-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ mv "$pkgdir"/usr/bin/twine{,2}
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list