[arch-commits] Commit in twine/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Feb 14 19:40:22 UTC 2019
Date: Thursday, February 14, 2019 @ 19:40:20
Author: felixonmars
Revision: 432249
archrelease: copy trunk to community-any
Added:
twine/repos/community-any/PKGBUILD
(from rev 432248, twine/trunk/PKGBUILD)
Deleted:
twine/repos/community-any/PKGBUILD
----------+
PKGBUILD | 120 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 60 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-02-14 19:40:00 UTC (rev 432248)
+++ PKGBUILD 2019-02-14 19:40:20 UTC (rev 432249)
@@ -1,60 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Chris Warrick <aur at chriswarrick.com>
-
-pkgbase=twine
-pkgname=('twine' 'python2-twine')
-pkgver=1.12.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' 'python-readme-renderer' 'python2-readme-renderer' 'python2-pyblake2')
-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=('b9ff2d80c4fe484fd89c9d5edd79d79818ba8ff7dc9a1f598f4f7a6cc97c9be2e38e91234b044fe528be2839c5c045d10c68c83962d197b5790978954c1d00ea')
-
-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'
- 'python-readme-renderer')
- 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'
- 'python2-readme-renderer' 'python2-pyblake2')
-
- 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 432248, twine/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-02-14 19:40:20 UTC (rev 432249)
@@ -0,0 +1,60 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Chris Warrick <aur at chriswarrick.com>
+
+pkgbase=twine
+pkgname=('twine' 'python2-twine')
+pkgver=1.13.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' 'python-readme-renderer' 'python2-readme-renderer' 'python2-pyblake2')
+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=('c72c6a3e12e78712335fdcc7917b7edd69ca34829a649f6e37501ee813501dc0bff0d2eda2bf5e4e30f32daef8fe67aed79679ad327b93f01ccf646e3881883c')
+
+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'
+ 'python-readme-renderer')
+ 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'
+ 'python2-readme-renderer' 'python2-pyblake2')
+
+ 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