[arch-commits] Commit in python-plette/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Oct 25 16:06:17 UTC 2019


    Date: Friday, October 25, 2019 @ 16:06:17
  Author: felixonmars
Revision: 519374

archrelease: copy trunk to community-staging-any

Added:
  python-plette/repos/community-staging-any/
  python-plette/repos/community-staging-any/PKGBUILD
    (from rev 519371, python-plette/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: python-plette/repos/community-staging-any/PKGBUILD (from rev 519371, python-plette/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-25 16:06:17 UTC (rev 519374)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-plette
+pkgver=0.2.3
+pkgrel=2
+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