Date: Monday, November 9, 2020 @ 16:57:37
  Author: felixonmars
Revision: 747740

archrelease: copy trunk to community-staging-any

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

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

Copied: python-slugify/repos/community-staging-any/PKGBUILD (from rev 747739, 
python-slugify/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2020-11-09 16:57:37 UTC (rev 747740)
@@ -0,0 +1,41 @@
+# Maintainer: Maxime Gauduin <aluc...@archlinux.org>
+# Contributor: Thomas Jost <schno...@schnouki.net>
+# Contributor: Andrey Mikhaylenko <neith...@gmail.com>
+
+pkgname=python-slugify
+pkgver=4.0.1
+pkgrel=2
+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')
+_tag=c340834bb2afb24d78151c018496f4273fb7be37
+source=(git+https://github.com/un33k/python-slugify.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+  cd python-slugify
+
+  git describe --tags
+}
+
+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:

Reply via email to