[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Sat May 25 17:37:38 UTC 2019


    Date: Saturday, May 25, 2019 @ 17:37:38
  Author: felixonmars
Revision: 470712

addpkg: python-plette 0.2.2-1

Added:
  python-plette/
  python-plette/repos/
  python-plette/trunk/
  python-plette/trunk/PKGBUILD

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

Added: python-plette/trunk/PKGBUILD
===================================================================
--- python-plette/trunk/PKGBUILD	                        (rev 0)
+++ python-plette/trunk/PKGBUILD	2019-05-25 17:37:38 UTC (rev 470712)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-plette
+pkgver=0.2.2
+pkgrel=1
+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=('bca1e6ed8b6d9fadbf9aabd46bdbe3faa95e143abcbb88da747b6bae8541089eb6137d5c9e9d1fe3f51d8e26463b192473e27ccc6e343a259611f3f7178b22bb')
+
+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