[arch-commits] Commit in python-lazy-object-proxy/repos (3 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Tue Nov 30 21:28:59 UTC 2021


    Date: Tuesday, November 30, 2021 @ 21:28:59
  Author: foutrelis
Revision: 429827

archrelease: copy trunk to staging-x86_64

Added:
  python-lazy-object-proxy/repos/staging-x86_64/
  python-lazy-object-proxy/repos/staging-x86_64/PKGBUILD
    (from rev 429826, python-lazy-object-proxy/trunk/PKGBUILD)
  python-lazy-object-proxy/repos/staging-x86_64/remove-setuptools-scm-upper-constraint.patch
    (from rev 429826, python-lazy-object-proxy/trunk/remove-setuptools-scm-upper-constraint.patch)

----------------------------------------------+
 PKGBUILD                                     |   40 +++++++++++++++++++++++++
 remove-setuptools-scm-upper-constraint.patch |   11 ++++++
 2 files changed, 51 insertions(+)

Copied: python-lazy-object-proxy/repos/staging-x86_64/PKGBUILD (from rev 429826, python-lazy-object-proxy/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-11-30 21:28:59 UTC (rev 429827)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-lazy-object-proxy
+pkgver=1.6.0
+pkgrel=2
+pkgdesc='A fast and thorough lazy object proxy'
+arch=('x86_64')
+url="https://github.com/ionelmc/python-lazy-object-proxy"
+license=('BSD')
+depends=("python")
+makedepends=('python-setuptools-scm')
+checkdepends=('python-pytest-benchmark' 'python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ionelmc/python-lazy-object-proxy/archive/v$pkgver.tar.gz"
+        remove-setuptools-scm-upper-constraint.patch)
+sha512sums=('08fd5e76a6e892a9390ae3bc3025c2fe9255437823fba9aa804f2c7cac09c5f9b57c791d3c9b137aa96c4c78fc2c494eca629cc60d21d23d59713f7a418491a1'
+            '7add9cf4111f7ce335501e33444ca9c7b3e8996322a0f372a4fa9022fb128594f8120a99e6796c55f5d1088d571cac462bdb9284731852ab392cc6f68ba935b9')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+prepare() {
+  cd python-lazy-object-proxy-$pkgver
+  # https://github.com/ionelmc/python-lazy-object-proxy/issues/54
+  patch -Np1 -i ../remove-setuptools-scm-upper-constraint.patch
+}
+
+build() {
+  cd python-lazy-object-proxy-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd python-lazy-object-proxy-$pkgver
+  python setup.py pytest --addopts --ignore=src
+}
+
+package() {
+  cd python-lazy-object-proxy-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: python-lazy-object-proxy/repos/staging-x86_64/remove-setuptools-scm-upper-constraint.patch (from rev 429826, python-lazy-object-proxy/trunk/remove-setuptools-scm-upper-constraint.patch)
===================================================================
--- staging-x86_64/remove-setuptools-scm-upper-constraint.patch	                        (rev 0)
+++ staging-x86_64/remove-setuptools-scm-upper-constraint.patch	2021-11-30 21:28:59 UTC (rev 429827)
@@ -0,0 +1,11 @@
+diff -upr python-lazy-object-proxy-1.6.0.orig/setup.cfg python-lazy-object-proxy-1.6.0/setup.cfg
+--- python-lazy-object-proxy-1.6.0.orig/setup.cfg	2021-03-22 17:06:24.000000000 +0200
++++ python-lazy-object-proxy-1.6.0/setup.cfg	2021-11-30 23:26:47.178944992 +0200
+@@ -1,6 +1,6 @@
+ [options]
+ setup_requires =
+-  setuptools_scm>=3.3.1,<6.0
++  setuptools_scm>=3.3.1
+ 
+ [flake8]
+ max-line-length = 140



More information about the arch-commits mailing list