[arch-commits] Commit in python-pyphen/repos (2 files)
David Runge
dvzrv at archlinux.org
Sun Sep 2 22:54:48 UTC 2018
Date: Sunday, September 2, 2018 @ 22:54:48
Author: dvzrv
Revision: 376171
archrelease: copy trunk to community-testing-any
Added:
python-pyphen/repos/community-testing-any/
python-pyphen/repos/community-testing-any/PKGBUILD
(from rev 376170, python-pyphen/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-pyphen/repos/community-testing-any/PKGBUILD (from rev 376170, python-pyphen/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2018-09-02 22:54:48 UTC (rev 376171)
@@ -0,0 +1,31 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+_name=Pyphen
+pkgname=python-pyphen
+pkgver=0.9.5
+pkgrel=1
+pkgdesc="Pure Python module to hyphenate text"
+arch=('any')
+url="http://pyphen.org/"
+license=('GPL2' 'LGPL2.1' 'MPL')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('15b9a29517df2b873b5b8d4739d8fa48a09ab199ab9246c7a4fd25c46253a74a18a88fd9484978476b3b1c8d88fed7729382b9dbe4f425724fe54bcd6227de96')
+
+prepare() {
+ mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ python setup.py build
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --root="${pkgdir}"
+ install -vDm 644 README -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
More information about the arch-commits
mailing list