[arch-commits] Commit in python-jaraco.context/repos/community-any (PKGBUILD PKGBUILD)

Evangelos Foutras foutrelis at gemini.archlinux.org
Tue Feb 15 13:23:36 UTC 2022


    Date: Tuesday, February 15, 2022 @ 13:23:36
  Author: foutrelis
Revision: 1133360

archrelease: copy trunk to community-any

Added:
  python-jaraco.context/repos/community-any/PKGBUILD
    (from rev 1133359, python-jaraco.context/trunk/PKGBUILD)
Deleted:
  python-jaraco.context/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   79 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 37 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-15 13:23:32 UTC (rev 1133359)
+++ PKGBUILD	2022-02-15 13:23:36 UTC (rev 1133360)
@@ -1,42 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-jaraco.context
-pkgver=4.1.1
-pkgrel=1
-pkgdesc="Context managers by jaraco"
-url="https://github.com/jaraco/jaraco.context"
-license=('MIT')
-arch=('any')
-depends=('python-jaraco' 'python-yg.lockfile')
-makedepends=('python-setuptools-scm' 'python-toml')
-checkdepends=('python-pytest-black' 'python-pytest-checkdocs' 'python-pytest-cov'
-              'python-pytest-flake8' 'python-pytest-mypy' 'python-jaraco.test'
-              'python-pip')
-source=("https://github.com/jaraco/jaraco.context/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('d1def3f0f701d36f584a60c57837d5e4bf9121c5ce8387f734ac371164f5ba0fe04b73d4d0e16367cfcd6a13cf11ab5dab2afe798f18dfddba15700fe6779fe0')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-prepare() {
-  cd jaraco.context-$pkgver
-  sed -i '/import jaraco.apt/d' jaraco/context.py
-  # Ignore flake8 error introduced by the above apt workaround
-  echo -e '\nper-file-ignores =\n\tjaraco/context.py: F821' >> .flake8
-}
-
-build() {
-  cd jaraco.context-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd jaraco.context-$pkgver
-  python -m pytest
-}
-
-package() {
-  cd jaraco.context-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-jaraco.context/repos/community-any/PKGBUILD (from rev 1133359, python-jaraco.context/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-02-15 13:23:36 UTC (rev 1133360)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-jaraco.context
+pkgver=4.1.1
+pkgrel=2
+pkgdesc="Context managers by jaraco"
+url="https://github.com/jaraco/jaraco.context"
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools-scm' 'python-toml')
+checkdepends=('python-pytest')
+source=("https://github.com/jaraco/jaraco.context/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('d1def3f0f701d36f584a60c57837d5e4bf9121c5ce8387f734ac371164f5ba0fe04b73d4d0e16367cfcd6a13cf11ab5dab2afe798f18dfddba15700fe6779fe0')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+prepare() {
+  cd jaraco.context-$pkgver
+}
+
+build() {
+  cd jaraco.context-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd jaraco.context-$pkgver
+  python -m pytest
+}
+
+package() {
+  cd jaraco.context-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list