[arch-commits] Commit in python-markdown-it-py/repos/community-any (PKGBUILD PKGBUILD)

Filipe Laíns ffy00 at gemini.archlinux.org
Sat Sep 3 18:44:00 UTC 2022


    Date: Saturday, September 3, 2022 @ 18:43:59
  Author: ffy00
Revision: 1292678

archrelease: copy trunk to community-any

Added:
  python-markdown-it-py/repos/community-any/PKGBUILD
    (from rev 1292677, python-markdown-it-py/trunk/PKGBUILD)
Deleted:
  python-markdown-it-py/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   76 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 38 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-09-03 18:43:55 UTC (rev 1292677)
+++ PKGBUILD	2022-09-03 18:43:59 UTC (rev 1292678)
@@ -1,38 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=markdown-it-py
-pkgname=python-$_pkgname
-pkgver=1.1.0
-pkgrel=3
-pkgdesc='Python port of markdown-it. Markdown parsing, done right!'
-arch=('any')
-url='https://github.com/executablebooks/markdown-it-py'
-license=('MIT')
-depends=('python-attrs')
-optdepends=('python-mdit_py_plugins: core plugins')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-pytest-regressions' 'python-pytest-benchmark' 'python-psutil' 'python-mdit_py_plugins')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('36b8a557afb4f6314aeba47e4c26ce7748679d771e9793a92a9e1a3b93319ed640bddf7e3f46a74a1ec71d837952115a76edf93b33ba4b693e496f31e4528bee')
-
-build() {
-  cd $_pkgname-$pkgver
-
-  python setup.py build
-}
-
-check() {
-  cd $_pkgname-$pkgver
-
-  pytest -k 'not test_linkify'
-}
-
-package() {
-  cd $_pkgname-$pkgver
-
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
-  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-markdown-it-py/repos/community-any/PKGBUILD (from rev 1292677, python-markdown-it-py/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-09-03 18:43:59 UTC (rev 1292678)
@@ -0,0 +1,38 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=markdown-it-py
+pkgname=python-$_pkgname
+pkgver=2.1.0
+pkgrel=1
+pkgdesc='Python port of markdown-it. Markdown parsing, done right!'
+arch=('any')
+url='https://github.com/executablebooks/markdown-it-py'
+license=('MIT')
+depends=('python-mdurl')
+optdepends=('python-mdit_py_plugins: core plugins')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
+checkdepends=('python-pytest' 'python-pytest-regressions' 'python-pytest-benchmark' 'python-psutil' 'python-mdit_py_plugins' 'python-linkify-it-py')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('04e90538c8693f795aed2ed0a5bef4eaf0c12fac32cc0c2049c563e974b229940b9ceaea849ce86fa9804ccdd7be93145f3b6fc8d0774e96fafa0484368d0a88')
+
+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:



More information about the arch-commits mailing list