Date: Sunday, January 15, 2023 @ 06:43:53
  Author: grawlinson
Revision: 1383508

archrelease: copy trunk to community-any

Added:
  python-mistletoe/repos/community-any/PKGBUILD
    (from rev 1383507, python-mistletoe/trunk/PKGBUILD)
Deleted:
  python-mistletoe/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-15 06:41:16 UTC (rev 1383507)
+++ PKGBUILD    2023-01-15 06:43:53 UTC (rev 1383508)
@@ -1,40 +0,0 @@
-# Maintainer: George Rawlinson <[email protected]>
-
-pkgname=python-mistletoe
-pkgver=0.9.0
-pkgrel=1
-pkgdesc='A fast, extensible Markdown parser in pure Python'
-arch=('any')
-url='https://github.com/miyuchina/mistletoe'
-license=('MIT')
-depends=('python')
-makedepends=('git' 'python-setuptools')
-_commit='cd0cd82c309094d85d60b86c2cf7cb1424e8b6f3'
-source=("$pkgname::git+$url.git#commit=$_commit")
-b2sums=('SKIP')
-
-pkgver() {
-  cd "$pkgname"
-
-  git describe --tags | sed 's/^v//'
-}
-
-build() {
-  cd "$pkgname"
-
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname"
-
-  python -m unittest discover test
-}
-
-package() {
-  cd "$pkgname"
-
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
-  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
-}

Copied: python-mistletoe/repos/community-any/PKGBUILD (from rev 1383507, 
python-mistletoe/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-01-15 06:43:53 UTC (rev 1383508)
@@ -0,0 +1,46 @@
+# Maintainer: George Rawlinson <[email protected]>
+
+pkgname=python-mistletoe
+pkgver=1.0.0
+pkgrel=1
+pkgdesc='A fast, extensible Markdown parser in pure Python'
+arch=('any')
+url='https://github.com/miyuchina/mistletoe'
+license=('MIT')
+depends=('python')
+makedepends=(
+  'git'
+  'python-build'
+  'python-installer'
+  'python-wheel'
+  'python-setuptools'
+)
+_commit='35f961cd97c8d567eb1cb82c4a859a9ca516f4f1'
+source=("$pkgname::git+$url.git#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+  cd "$pkgname"
+
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  cd "$pkgname"
+
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd "$pkgname"
+
+  python -m unittest discover test
+}
+
+package() {
+  cd "$pkgname"
+
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}

Reply via email to