[arch-commits] Commit in python-tomli/repos/extra-any (PKGBUILD PKGBUILD)
Maxime Gauduin
alucryd at gemini.archlinux.org
Wed Nov 24 12:50:03 UTC 2021
Date: Wednesday, November 24, 2021 @ 12:50:03
Author: alucryd
Revision: 429056
archrelease: copy trunk to extra-any
Added:
python-tomli/repos/extra-any/PKGBUILD
(from rev 429055, python-tomli/trunk/PKGBUILD)
Deleted:
python-tomli/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 76 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-24 12:49:58 UTC (rev 429055)
+++ PKGBUILD 2021-11-24 12:50:03 UTC (rev 429056)
@@ -1,38 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-tomli
-pkgver=1.2.1
-pkgrel=1
-pkgdesc="A lil' TOML parser"
-url="https://github.com/hukkin/tomli"
-license=('MIT')
-arch=('any')
-depends=('python')
-makedepends=('python-dephell' 'python-setuptools')
-checkdepends=('python-pytest' 'python-dateutil')
-source=("https://github.com/hukkin/tomli/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('34f9529b137331b0ae03ac99170b3f6509847356594be14166bae306ea4fbbddff808ffe0c48d05434f72d223a2f35b511675217053029d287725b7142fbd089')
-
-prepare() {
- cd tomli-$pkgver
- # flit is not needed at runtime
- sed -i '/flit_core/d' pyproject.toml
- dephell deps convert --from pyproject.toml --to setup.py
-}
-
-build() {
- cd tomli-$pkgver
- python setup.py build
-}
-
-check() {
- cd tomli-$pkgver
- python -m pytest
-}
-
-package() {
- cd tomli-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
Copied: python-tomli/repos/extra-any/PKGBUILD (from rev 429055, python-tomli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-24 12:50:03 UTC (rev 429056)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-tomli
+pkgver=1.2.2
+pkgrel=1
+pkgdesc="A lil' TOML parser"
+url="https://github.com/hukkin/tomli"
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('python-dephell' 'python-setuptools')
+checkdepends=('python-pytest' 'python-dateutil')
+source=("https://github.com/hukkin/tomli/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('460ad8ae9a342d82ef12911c0d0e246c1434a5d40d898e91f6c05bf37b7bf9921da05e004c36907d623a797a7a215c1c3faf3f9a2b940f3867b142847a188605')
+
+prepare() {
+ cd tomli-$pkgver
+ # flit is not needed at runtime
+ sed -i '/flit_core/d' pyproject.toml
+ dephell deps convert --from pyproject.toml --to setup.py
+}
+
+build() {
+ cd tomli-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd tomli-$pkgver
+ python -m pytest
+}
+
+package() {
+ cd tomli-$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