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

Felix Yan felixonmars at archlinux.org
Tue Apr 21 05:29:04 UTC 2020


    Date: Tuesday, April 21, 2020 @ 05:29:04
  Author: felixonmars
Revision: 617312

archrelease: copy trunk to community-testing-any

Added:
  python-inflection/repos/community-testing-any/
  python-inflection/repos/community-testing-any/PKGBUILD
    (from rev 617311, python-inflection/trunk/PKGBUILD)

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

Copied: python-inflection/repos/community-testing-any/PKGBUILD (from rev 617311, python-inflection/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2020-04-21 05:29:04 UTC (rev 617312)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-inflection
+pkgver=0.4.0
+pkgrel=1
+pkgdesc="A port of Ruby on Rails inflector to Python"
+url="https://github.com/jpvanhal/inflection"
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jpvanhal/inflection/archive/$pkgver.tar.gz")
+sha512sums=('071b21bdc24f05f7be1e8c51c0cc422d4835b4b6e03cdd2b51717356d4d1bb714ebcd875091e331b7e9be85cfb577a8f80f999ca2bf0c7dd8496bf057ddb144c')
+
+build() {
+  cd inflection-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd inflection-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd inflection-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list