[arch-commits] Commit in python-plette/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Nov 30 20:19:00 UTC 2021
Date: Tuesday, November 30, 2021 @ 20:19:00
Author: felixonmars
Revision: 1057982
archrelease: copy trunk to community-staging-any
Added:
python-plette/repos/community-staging-any/
python-plette/repos/community-staging-any/PKGBUILD
(from rev 1057978, python-plette/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-plette/repos/community-staging-any/PKGBUILD (from rev 1057978, python-plette/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-11-30 20:19:00 UTC (rev 1057982)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-plette
+pkgver=0.2.3
+pkgrel=6
+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/
+}
More information about the arch-commits
mailing list