[arch-commits] Commit in python-license-expression/repos/community-any (2 files)
George Rawlinson
grawlinson at gemini.archlinux.org
Sun May 22 07:38:26 UTC 2022
Date: Sunday, May 22, 2022 @ 07:38:25
Author: grawlinson
Revision: 1209974
archrelease: copy trunk to community-any
Added:
python-license-expression/repos/community-any/PKGBUILD
(from rev 1209973, python-license-expression/trunk/PKGBUILD)
Deleted:
python-license-expression/repos/community-any/PKGBUILD
----------+
PKGBUILD | 129 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 62 insertions(+), 67 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-22 07:36:29 UTC (rev 1209973)
+++ PKGBUILD 2022-05-22 07:38:25 UTC (rev 1209974)
@@ -1,67 +0,0 @@
-# Maintainer: George Rawlinson <grawlinson at archlinux.org>
-# Contributor: Max Mehl <aur at mehl dot mx>
-# SPDX-FileCopyrightText: 2019 Max Mehl
-# SPDX-License-Identifier: CC0-1.0
-
-pkgname=python-license-expression
-pkgver=21.6.14
-pkgrel=5
-pkgdesc='Utility to parse, normalize and compare license expressions'
-arch=('any')
-url='https://github.com/nexB/license-expression'
-license=('Apache')
-depends=(
- 'python'
- 'python-boolean.py'
-)
-makedepends=(
- 'git'
- 'python-setuptools'
- 'python-wheel'
- 'python-pip'
-)
-checkdepends=(
- 'python-pytest'
- 'python-pytest-xdist'
-)
-_commit='475a246eb3d5281cc63b90345fcba080bfefb21b'
-source=("$pkgname::git+$url#commit=$_commit")
-b2sums=('SKIP')
-
-pkgver() {
- cd "$pkgname"
-
- git describe --tags | sed 's/^v//'
-}
-
-prepare() {
- cd "$pkgname"
-
- # Fix file to comply with PEP-440
- sed \
- -i pyproject.toml \
- -e "s/^fallback_version =.*/fallback_version = \"$pkgver\"/"
-
- # remove version constraint for python-boolean.py
- sed \
- -i setup.cfg \
- -e 's/\(boolean.py\).*$/\1/'
-}
-
-build() {
- cd "$pkgname"
-
- python setup.py build
-}
-
-check() {
- cd "$pkgname"
-
- pytest
-}
-
-package() {
- cd "$pkgname"
-
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
Copied: python-license-expression/repos/community-any/PKGBUILD (from rev 1209973, python-license-expression/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-22 07:38:25 UTC (rev 1209974)
@@ -0,0 +1,62 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Max Mehl <aur at mehl dot mx>
+# SPDX-FileCopyrightText: 2019 Max Mehl
+# SPDX-License-Identifier: CC0-1.0
+
+pkgname=python-license-expression
+pkgver=30.0.0
+pkgrel=1
+pkgdesc='Utility to parse, normalize and compare license expressions'
+arch=('any')
+url='https://github.com/nexB/license-expression'
+license=('Apache')
+depends=(
+ 'python'
+ 'python-boolean.py'
+)
+makedepends=(
+ 'git'
+ 'python-setuptools'
+ 'python-wheel'
+ 'python-pip'
+)
+checkdepends=(
+ 'python-pytest'
+ 'python-pytest-xdist'
+)
+_commit='5f4febb6df2b644706839e42ba4310de9e2dccba'
+source=("$pkgname::git+$url#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+
+ git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+ cd "$pkgname"
+
+ # Fix file to comply with PEP-440
+ sed \
+ -i pyproject.toml \
+ -e "s/^fallback_version =.*/fallback_version = \"$pkgver\"/"
+}
+
+build() {
+ cd "$pkgname"
+
+ python setup.py build
+}
+
+check() {
+ cd "$pkgname"
+
+ pytest
+}
+
+package() {
+ cd "$pkgname"
+
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
More information about the arch-commits
mailing list