[arch-commits] Commit in twine/repos/community-testing-any (PKGBUILD PKGBUILD)

Felix Yan fyan at archlinux.org
Tue Sep 29 02:43:40 UTC 2015


    Date: Tuesday, September 29, 2015 @ 04:43:40
  Author: fyan
Revision: 142170

archrelease: copy trunk to community-testing-any

Added:
  twine/repos/community-testing-any/PKGBUILD
    (from rev 142169, twine/trunk/PKGBUILD)
Deleted:
  twine/repos/community-testing-any/PKGBUILD

----------+
 PKGBUILD |  120 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 60 insertions(+), 60 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-29 02:43:19 UTC (rev 142169)
+++ PKGBUILD	2015-09-29 02:43:40 UTC (rev 142170)
@@ -1,60 +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.6.1
-pkgrel=2
-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' 'git')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pretend' 'python2-pretend')
-options=('!emptydirs')
-source=("git+https://github.com/pypa/twine.git#tag=$pkgver")
-md5sums=('SKIP')
-
-prepare() {
-  cd "${srcdir}/${pkgbase}"
-  cp -a "${srcdir}/${pkgbase}" "${srcdir}/${pkgbase}-py2"
-}
-
-build() {
-  cd "${srcdir}/${pkgbase}"
-  python setup.py build
-
-  cd "${srcdir}/${pkgbase}-py2"
-  python2 setup.py build
-}
-
-check() {
-  cd "${srcdir}/${pkgbase}"
-  python setup.py ptr
-
-  cd "${srcdir}/${pkgbase}-py2"
-  python2 setup.py ptr
-}
-
-package_twine() {
-  depends=('python-setuptools' 'python-requests-toolbelt' 'python-pkginfo')
-  provides=('python-twine')
-  conflicts=('python-twine')
-  replaces=('python-twine')
-
-  cd "${srcdir}/${pkgbase}"
-  python3 setup.py install --root="${pkgdir}/" --optimize=1
-  ln -s ${pkgbase} "${pkgdir}/usr/bin/${pkgbase}3"
-}
-
-package_python2-twine() {
-  depends=('python2-setuptools' 'python2-requests-toolbelt' 'python2-pkginfo')
-
-  cd "${srcdir}/${pkgbase}-py2"
-  python2 setup.py install --root="${pkgdir}/" --optimize=1
-  mv "${pkgdir}/usr/bin/${pkgbase}" "${pkgdir}/usr/bin/${pkgbase}2"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: twine/repos/community-testing-any/PKGBUILD (from rev 142169, twine/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-09-29 02:43:40 UTC (rev 142170)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Chris Warrick <aur at chriswarrick.com>
+
+pkgbase=twine
+pkgname=('twine' 'python2-twine')
+pkgver=1.6.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-requests-toolbelt' 'python2-requests-toolbelt'
+             'python-pkginfo' 'python2-pkginfo' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pretend' 'python2-pretend')
+options=('!emptydirs')
+source=("git+https://github.com/pypa/twine.git#tag=$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+  cd "${srcdir}/${pkgbase}"
+  cp -a "${srcdir}/${pkgbase}" "${srcdir}/${pkgbase}-py2"
+}
+
+build() {
+  cd "${srcdir}/${pkgbase}"
+  python setup.py build
+
+  cd "${srcdir}/${pkgbase}-py2"
+  python2 setup.py build
+}
+
+check() {
+  cd "${srcdir}/${pkgbase}"
+  python setup.py ptr
+
+  cd "${srcdir}/${pkgbase}-py2"
+  python2 setup.py ptr
+}
+
+package_twine() {
+  depends=('python-setuptools' 'python-requests-toolbelt' 'python-pkginfo')
+  provides=('python-twine')
+  conflicts=('python-twine')
+  replaces=('python-twine')
+
+  cd "${srcdir}/${pkgbase}"
+  python3 setup.py install --root="${pkgdir}/" --optimize=1
+  ln -s ${pkgbase} "${pkgdir}/usr/bin/${pkgbase}3"
+}
+
+package_python2-twine() {
+  depends=('python2-setuptools' 'python2-requests-toolbelt' 'python2-pkginfo')
+
+  cd "${srcdir}/${pkgbase}-py2"
+  python2 setup.py install --root="${pkgdir}/" --optimize=1
+  mv "${pkgdir}/usr/bin/${pkgbase}" "${pkgdir}/usr/bin/${pkgbase}2"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list