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

Evangelos Foutras foutrelis at archlinux.org
Fri Oct 25 15:21:25 UTC 2019


    Date: Friday, October 25, 2019 @ 15:21:24
  Author: foutrelis
Revision: 518995

archrelease: copy trunk to community-staging-any

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

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

Copied: python-inflection/repos/community-staging-any/PKGBUILD (from rev 518993, python-inflection/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-25 15:21:24 UTC (rev 518995)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-inflection
+pkgver=0.3.1
+pkgrel=2
+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=('2a69a6228f2d44a5afecbd3ef51a51b4d5f63f69ddc844f4abfd6f326cb25c518403e8c5b9f98589885777d41d8fea31bacab3a5a3ab80db411960238d2f49ad')
+
+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