[arch-commits] Commit in python-plette/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Thu Sep 8 07:22:01 UTC 2022
Date: Thursday, September 8, 2022 @ 07:22:01
Author: felixonmars
Revision: 1296160
archrelease: copy trunk to community-any
Added:
python-plette/repos/community-any/PKGBUILD
(from rev 1296159, python-plette/trunk/PKGBUILD)
Deleted:
python-plette/repos/community-any/PKGBUILD
----------+
PKGBUILD | 62 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 31 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-08 07:21:43 UTC (rev 1296159)
+++ PKGBUILD 2022-09-08 07:22:01 UTC (rev 1296160)
@@ -1,31 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-plette
-pkgver=0.2.3
-pkgrel=7
-pkgdesc="Structured Pipfile and Pipfile.lock models"
-url="https://github.com/sarugaku/plette"
-license=('ISC')
-arch=('any')
-depends=('python-six' 'python-tomlkit')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest-runner' 'python-cerberus')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/sarugaku/plette/archive/$pkgver.tar.gz")
-sha512sums=('e3ebc43357dec17db50f9832ca24093dff9bb82f96c50ab5568ab67e1b92db69b230e9f929ed0c54edc4027be5e2b937ed9f733e490ef97442c6fc23b10f63b6')
-
-build() {
- cd plette-$pkgver
- python setup.py build
-}
-
-check() {
- cd plette-$pkgver
- python setup.py pytest
-}
-
-package() {
- cd plette-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
Copied: python-plette/repos/community-any/PKGBUILD (from rev 1296159, python-plette/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-08 07:22:01 UTC (rev 1296160)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-plette
+pkgver=0.3.0
+pkgrel=1
+pkgdesc="Structured Pipfile and Pipfile.lock models"
+url="https://github.com/sarugaku/plette"
+license=('ISC')
+arch=('any')
+depends=('python-tomlkit')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-cerberus')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/sarugaku/plette/archive/v$pkgver.tar.gz")
+sha512sums=('bd736de3a9c974ca509c0ad41670a0e823292cc8c3cf8cc8a5c07945c09f398c50d1698d7446102d2b5f95c0a32cfb8dd5a8739625b00bb5d1c367eb4528e0b0')
+
+build() {
+ cd plette-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd plette-$pkgver
+ PYTHONPATH="$PWD/build/lib" pytest
+}
+
+package() {
+ cd plette-$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