[arch-commits] Commit in twine/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Mon Aug 2 20:57:37 UTC 2021
Date: Monday, August 2, 2021 @ 20:57:35
Author: felixonmars
Revision: 993109
archrelease: copy trunk to community-any
Added:
twine/repos/community-any/PKGBUILD
(from rev 993108, twine/trunk/PKGBUILD)
Deleted:
twine/repos/community-any/PKGBUILD
----------+
PKGBUILD | 85 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 45 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-02 20:57:19 UTC (rev 993108)
+++ PKGBUILD 2021-08-02 20:57:35 UTC (rev 993109)
@@ -1,40 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Chris Warrick <aur at chriswarrick.com>
-
-pkgname=twine
-pkgver=3.4.1
-pkgrel=1
-pkgdesc='Collection of utilities for interacting with PyPI'
-arch=('any')
-url='https://pypi.python.org/pypi/twine'
-license=('Apache')
-depends=('python-pkginfo' 'python-readme-renderer' 'python-requests' 'python-requests-toolbelt'
- 'python-packaging' 'python-importlib-metadata' 'python-tqdm' 'python-keyring'
- 'python-rfc3986' 'python-colorama')
-makedepends=('python-setuptools-scm')
-checkdepends=('git' 'python-munch' 'python-jaraco.envs' 'python-portend' 'python-pretend'
- 'python-pytest-cov' 'python-pytest-services' 'python-pytest-socket')
-provides=('python-twine')
-conflicts=('python-twine')
-replaces=('python-twine')
-source=("https://github.com/pypa/twine/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('eca2a7b6b1386868f67dec1182599a8331981585e1cc0b7eef762aa0e99b87b0c6725a2c776330a8b392254501880a68e01ed8569a169857e8079abb8da43b79')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
- cd twine-$pkgver
- python setup.py build
-}
-
-check() {
- cd twine-$pkgver
- python setup.py egg_info
- python -m pytest
-}
-
-package() {
- cd twine-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- ln -s twine "$pkgdir"/usr/bin/twine3
-}
Copied: twine/repos/community-any/PKGBUILD (from rev 993108, twine/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-08-02 20:57:35 UTC (rev 993109)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Chris Warrick <aur at chriswarrick.com>
+
+pkgname=twine
+pkgver=3.4.2
+pkgrel=1
+pkgdesc='Collection of utilities for interacting with PyPI'
+arch=('any')
+url='https://pypi.python.org/pypi/twine'
+license=('Apache')
+depends=('python-pkginfo' 'python-readme-renderer' 'python-requests' 'python-requests-toolbelt'
+ 'python-packaging' 'python-importlib-metadata' 'python-tqdm' 'python-keyring'
+ 'python-rfc3986' 'python-colorama')
+makedepends=('python-dephell' 'python-setuptools-scm')
+checkdepends=('git' 'python-munch' 'python-jaraco.envs' 'python-portend' 'python-pretend'
+ 'python-pytest-cov' 'python-pytest-services' 'python-pytest-socket')
+provides=('python-twine')
+conflicts=('python-twine')
+replaces=('python-twine')
+source=("https://github.com/pypa/twine/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('3f6d8992294a35e2a26be64f56c88d31af63b05f3f477d545bc82d928ca1b9939d23fa489eca5232502a49def77d489eaf6a29663d150f78b5cdb99749ff9b50')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+prepare() {
+ cd twine-$pkgver
+ dephell deps convert --from pyproject.toml --to setup.py
+}
+
+build() {
+ cd twine-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd twine-$pkgver
+ python setup.py egg_info
+ python -m 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