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

Felix Yan felixonmars at archlinux.org
Wed Jan 6 15:06:33 UTC 2021


    Date: Wednesday, January 6, 2021 @ 15:06:33
  Author: felixonmars
Revision: 810880

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   78 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 37 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-06 15:06:19 UTC (rev 810879)
+++ PKGBUILD	2021-01-06 15:06:33 UTC (rev 810880)
@@ -1,41 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-jaraco.envs
-pkgver=2.0.0
-pkgrel=4
-pkgdesc="Classes for orchestrating Python (virtual) environments"
-url="https://github.com/jaraco/jaraco.envs"
-license=('MIT')
-arch=('any')
-depends=('python-jaraco' 'python-path' 'python-virtualenv' 'python-tox')
-makedepends=('python-setuptools-scm')
-checkdepends=('python-pytest-black' 'python-pytest-cov' 'python-pytest-flake8')
-source=("https://github.com/jaraco/jaraco.envs/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('a834f72ae5b3e0633f1d794a28914e653807ba27a9184724a651ed8ee7d8d0541fef6d5888a47ac53f386dcd8b701d305ae68ddcf56bec5992e49272a641ea38')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-prepare() {
-  cd jaraco.envs-$pkgver
-  sed -i '/tox-venv/d' setup.cfg
-}
-
-build() {
-  cd jaraco.envs-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd jaraco.envs-$pkgver
-  python -m pytest
-}
-
-package() {
-  cd jaraco.envs-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-
-  rm "$pkgdir"/usr/lib/python3.9/site-packages/jaraco/__init__.py \
-     "$pkgdir"/usr/lib/python3.9/site-packages/jaraco/__pycache__/__init__.cpython-39.pyc
-
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-jaraco.envs/repos/community-any/PKGBUILD (from rev 810879, python-jaraco.envs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-01-06 15:06:33 UTC (rev 810880)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-jaraco.envs
+pkgver=2.1.0
+pkgrel=1
+pkgdesc="Classes for orchestrating Python (virtual) environments"
+url="https://github.com/jaraco/jaraco.envs"
+license=('MIT')
+arch=('any')
+depends=('python-jaraco' 'python-path' 'python-virtualenv' 'python-tox')
+makedepends=('python-setuptools-scm')
+checkdepends=('python-pytest-black' 'python-pytest-checkdocs' 'python-pytest-cov'
+              'python-pytest-enabler' 'python-pytest-flake8' 'python-pytest-mypy')
+source=("https://github.com/jaraco/jaraco.envs/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('4aaebe54df1a7f117ded41c7faed13924b29bb0d7b780581cdf7aa4c596265f590f8e782a50629389d30cde288384f98e8a4194f1f023f5580a8a1967d10d9b3')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+  cd jaraco.envs-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd jaraco.envs-$pkgver
+  python -m pytest
+}
+
+package() {
+  cd jaraco.envs-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  rm "$pkgdir"/usr/lib/python3.9/site-packages/jaraco/__init__.py \
+     "$pkgdir"/usr/lib/python3.9/site-packages/jaraco/__pycache__/__init__.cpython-39.pyc
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list