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

Felix Yan felixonmars at archlinux.org
Thu Oct 25 13:36:48 UTC 2018


    Date: Thursday, October 25, 2018 @ 13:36:48
  Author: felixonmars
Revision: 398946

archrelease: copy trunk to community-any

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

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

Copied: python-inflection/repos/community-any/PKGBUILD (from rev 398945, python-inflection/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2018-10-25 13:36:48 UTC (rev 398946)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-inflection
+pkgver=0.3.1
+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=('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