[arch-commits] Commit in python-slugify (3 files)

Maxime Gauduin alucryd at archlinux.org
Tue Jul 16 13:13:35 UTC 2019


    Date: Tuesday, July 16, 2019 @ 13:13:35
  Author: alucryd
Revision: 490036

archrelease: copy trunk to community-any

Added:
  python-slugify/repos/
  python-slugify/repos/community-any/
  python-slugify/repos/community-any/PKGBUILD
    (from rev 490035, python-slugify/trunk/PKGBUILD)

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

Copied: python-slugify/repos/community-any/PKGBUILD (from rev 490035, python-slugify/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD	                        (rev 0)
+++ repos/community-any/PKGBUILD	2019-07-16 13:13:35 UTC (rev 490036)
@@ -0,0 +1,34 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Thomas Jost <schnouki at schnouki.net>
+# Contributor: Andrey Mikhaylenko <neithere at gmail.com>
+
+pkgname=python-slugify
+pkgver=3.0.2
+pkgrel=1
+pkgdesc='A Python slugify application that handles unicode'
+arch=(any)
+url=https://github.com/un33k/python-slugify
+license=(MIT)
+depends=(python-text-unidecode)
+makedepends=(
+  git
+  python-setuptools
+)
+optdepends=('python-unidecode: Unidecode support')
+source=(git+https://github.com/un33k/python-slugify.git#tag=${pkgver})
+sha256sums=(SKIP)
+
+build() {
+  cd python-slugify
+
+  python setup.py build
+}
+
+package() {
+  cd python-slugify
+
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-slugify/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list