[arch-commits] Commit in python-inflection/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 9 15:39:12 UTC 2020
Date: Monday, November 9, 2020 @ 15:39:11
Author: felixonmars
Revision: 747057
archrelease: copy trunk to community-staging-any
Added:
python-inflection/repos/community-staging-any/
python-inflection/repos/community-staging-any/PKGBUILD
(from rev 747055, python-inflection/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-inflection/repos/community-staging-any/PKGBUILD (from rev 747055, python-inflection/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 15:39:11 UTC (rev 747057)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-inflection
+pkgver=0.5.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=('a976cf40a79921f55fbf45b56febb59c6be9e840aac80213ab26915afe4699d96b99888a88e215f26af39497e8cfbe501a38ecf910b6c89d8c4edbf4e176406b')
+
+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