[arch-commits] Commit in python-tomli/repos/extra-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Sun Aug 8 19:39:24 UTC 2021
Date: Sunday, August 8, 2021 @ 19:39:23
Author: felixonmars
Revision: 421246
archrelease: copy trunk to extra-any
Added:
python-tomli/repos/extra-any/PKGBUILD
(from rev 421245, python-tomli/trunk/PKGBUILD)
Deleted:
python-tomli/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 76 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-08 19:39:16 UTC (rev 421245)
+++ PKGBUILD 2021-08-08 19:39:23 UTC (rev 421246)
@@ -1,38 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-tomli
-pkgver=1.2.0
-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=('87b6069d026aa597774cbc87f3a7ad712905290e3c72cf123733abb1a6dc0ab5dc84f6b0eabc54b9f6de94091f7d2763bb4a56203f5ca2e292e202218e4fae37')
-
-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 421245, python-tomli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-08-08 19:39:23 UTC (rev 421246)
@@ -0,0 +1,38 @@
+# 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/
+}
More information about the arch-commits
mailing list