Date: Friday, April 7, 2023 @ 07:01:11
  Author: felixonmars
Revision: 1440747

archrelease: copy trunk to community-staging-any

Added:
  python-linkify-it-py/repos/community-staging-any/
  python-linkify-it-py/repos/community-staging-any/PKGBUILD
    (from rev 1440738, python-linkify-it-py/trunk/PKGBUILD)

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

Copied: python-linkify-it-py/repos/community-staging-any/PKGBUILD (from rev 
1440738, python-linkify-it-py/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-07 07:01:11 UTC (rev 1440747)
@@ -0,0 +1,37 @@
+# Maintainer: Filipe LaĆ­ns (FFY00) <[email protected]>
+
+_pkgname=linkify-it-py
+pkgname=python-$_pkgname
+pkgver=2.0.0
+pkgrel=2
+pkgdesc='Links recognition library with full unicode support'
+arch=('any')
+url='https://github.com/tsutsu3/linkify-it-py'
+license=('MIT')
+depends=('python-uc-micro-py')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
+checkdepends=('python-pytest')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('7d2a66d5f0e33aece5b8d2737f20bd83f6cb2b7958b681c293f5996263f65f525862ce0cb0f7be9df1597844e58ed804b5b604c257e4d84cbf05677fd2733dda')
+
+build() {
+  cd $_pkgname-$pkgver
+
+  python -m build
+}
+
+check() {
+  cd $_pkgname-$pkgver
+
+  python -m pytest
+}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python -m installer -d "$pkgdir" dist/*.whl
+
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:

Reply via email to