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

Felix Yan felixonmars at gemini.archlinux.org
Wed Aug 31 18:31:25 UTC 2022


    Date: Wednesday, August 31, 2022 @ 18:31:25
  Author: felixonmars
Revision: 1289209

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   99 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 51 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-31 18:31:12 UTC (rev 1289208)
+++ PKGBUILD	2022-08-31 18:31:25 UTC (rev 1289209)
@@ -1,48 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Chris Warrick <aur at chriswarrick.com>
-
-pkgname=twine
-pkgver=3.6.0
-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-pyproject2setuppy' '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=('41da4d89ac69c692a98545aefffd9afd4c7b0287179807906504b4121bf9257095b227ec2966d98983939fa76fb8509f6ffa2577c0e7b4c7f43f614f44745460')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-prepare() {
-  cd twine-$pkgver
-  # This is needed because twine uses setuptools-scm's file finder hook to include package data,
-  # but the git checkout we use don't contain the needed SCM info.
-  # dephell generates a pattern for this automatically.
-  echo "recursive-include twine *.typed" > MANIFEST.in
-}
-
-build() {
-  cd twine-$pkgver
-  python -m pyproject2setuppy build
-}
-
-check() {
-  cd twine-$pkgver
-  python -m pyproject2setuppy egg_info
-  python -m pytest
-}
-
-package() {
-  cd twine-$pkgver
-  python -m pyproject2setuppy install --root="$pkgdir" --optimize=1
-  ln -s twine "$pkgdir"/usr/bin/twine3
-}

Copied: twine/repos/community-any/PKGBUILD (from rev 1289208, twine/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-31 18:31:25 UTC (rev 1289209)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Chris Warrick <aur at chriswarrick.com>
+
+pkgname=twine
+pkgver=3.7.0
+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-pyproject2setuppy' '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"
+        $pkgname-update-sampleproject.patch::https://github.com/pypa/twine/pull/885.patch)
+sha512sums=('d7ddfdfcbaa7a5e3eba3657a06da090eeecbf373646e64d659f420fae4ba10c16c2c02e85bdf9c1f050b86177f19c85aa20183ad9d546cb053a11d60db0851f3'
+            '6fe0126a79e1a681d9308ff7fd35b15a7e1e50437d634c7119d6b96aa3487b02b78cd575878673572276d630771014f1df5c63910715371c671b139addad8f73')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+prepare() {
+  cd twine-$pkgver
+  patch -p1 -i ../$pkgname-update-sampleproject.patch
+  # This is needed because twine uses setuptools-scm's file finder hook to include package data,
+  # but the git checkout we use don't contain the needed SCM info.
+  # dephell generates a pattern for this automatically.
+  echo "recursive-include twine *.typed" > MANIFEST.in
+}
+
+build() {
+  cd twine-$pkgver
+  python -m pyproject2setuppy build
+}
+
+check() {
+  cd twine-$pkgver
+  python -m pyproject2setuppy egg_info
+  python -m pytest
+}
+
+package() {
+  cd twine-$pkgver
+  python -m pyproject2setuppy install --root="$pkgdir" --optimize=1
+  ln -s twine "$pkgdir"/usr/bin/twine3
+}



More information about the arch-commits mailing list