[arch-commits] Commit in twine/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Jul 9 11:24:31 UTC 2016
Date: Saturday, July 9, 2016 @ 11:24:31
Author: felixonmars
Revision: 182581
archrelease: copy trunk to community-any
Added:
twine/repos/community-any/PKGBUILD
(from rev 182580, twine/trunk/PKGBUILD)
Deleted:
twine/repos/community-any/PKGBUILD
----------+
PKGBUILD | 118 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 59 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-07-09 11:24:08 UTC (rev 182580)
+++ PKGBUILD 2016-07-09 11:24:31 UTC (rev 182581)
@@ -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.7.2
-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-clint' 'python2-clint'
- 'python-requests-toolbelt' 'python2-requests-toolbelt' 'python-pkginfo'
- 'python2-pkginfo' 'git')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pretend' 'python2-pretend')
-source=("git+https://github.com/pypa/twine.git#tag=$pkgver")
-md5sums=('SKIP')
-
-prepare() {
- cp -a twine{,-py2}
-}
-
-build() {
- cd "$srcdir"/twine
- python setup.py build
-
- cd "$srcdir"/twine-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/twine
- python setup.py ptr
-
- cd "$srcdir"/twine-py2
- python2 setup.py ptr
-}
-
-package_twine() {
- depends=('python-setuptools' 'python-requests-toolbelt' 'python-pkginfo' 'python-clint')
- provides=('python-twine')
- conflicts=('python-twine')
- replaces=('python-twine')
-
- cd twine
- 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-clint')
-
- cd twine-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 182580, twine/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-07-09 11:24:31 UTC (rev 182581)
@@ -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.7.3
+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-clint' 'python2-clint'
+ 'python-requests-toolbelt' 'python2-requests-toolbelt' 'python-pkginfo'
+ 'python2-pkginfo' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pretend' 'python2-pretend')
+source=("git+https://github.com/pypa/twine.git#tag=$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+ cp -a twine{,-py2}
+}
+
+build() {
+ cd "$srcdir"/twine
+ python setup.py build
+
+ cd "$srcdir"/twine-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/twine
+ python setup.py ptr
+
+ cd "$srcdir"/twine-py2
+ python2 setup.py ptr
+}
+
+package_twine() {
+ depends=('python-setuptools' 'python-requests-toolbelt' 'python-pkginfo' 'python-clint')
+ provides=('python-twine')
+ conflicts=('python-twine')
+ replaces=('python-twine')
+
+ cd twine
+ 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-clint')
+
+ cd twine-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