[arch-commits] Commit in python-slugify/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Oct 25 19:54:22 UTC 2019


    Date: Friday, October 25, 2019 @ 19:54:22
  Author: felixonmars
Revision: 519618

archrelease: copy trunk to community-staging-any

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

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

Copied: python-slugify/repos/community-staging-any/PKGBUILD (from rev 519617, python-slugify/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-25 19:54:22 UTC (rev 519618)
@@ -0,0 +1,40 @@
+# 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=4.0.0
+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')
+source=(git+https://github.com/un33k/python-slugify.git#tag=76f327216bc52adc6115eb6d1483405958810c5c)
+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:



More information about the arch-commits mailing list