[arch-commits] Commit in python-pyphen/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Fri Oct 25 16:20:43 UTC 2019
Date: Friday, October 25, 2019 @ 16:20:43
Author: foutrelis
Revision: 519432
archrelease: copy trunk to community-staging-any
Added:
python-pyphen/repos/community-staging-any/
python-pyphen/repos/community-staging-any/PKGBUILD
(from rev 519431, python-pyphen/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-pyphen/repos/community-staging-any/PKGBUILD (from rev 519431, python-pyphen/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 16:20:43 UTC (rev 519432)
@@ -0,0 +1,31 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+_name=Pyphen
+pkgname=python-pyphen
+pkgver=0.9.5
+pkgrel=2
+pkgdesc="Pure Python module to hyphenate text"
+arch=('any')
+url="https://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