[arch-commits] Commit in asciidoc/trunk (PKGBUILD)

Caleb Maclennan alerque at gemini.archlinux.org
Tue Feb 22 07:39:45 UTC 2022


    Date: Tuesday, February 22, 2022 @ 07:39:45
  Author: alerque
Revision: 1135776

upgpkg: asciidoc 10.1.3-1

Modified:
  asciidoc/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-22 07:37:30 UTC (rev 1135775)
+++ PKGBUILD	2022-02-22 07:39:45 UTC (rev 1135776)
@@ -10,8 +10,8 @@
 # Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
 
 pkgname=asciidoc
-pkgver=10.1.2
-pkgrel=2
+pkgver=10.1.3
+pkgrel=1
 pkgdesc='Text document format for short documents, articles, books and UNIX man pages'
 arch=('any')
 url='https://asciidoc.org/'
@@ -28,17 +28,19 @@
             'w3m: text generation'
             'lynx: alternative text generation')
 source=("https://github.com/asciidoc-py/asciidoc-py/releases/download/$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('0bfcebf4d0419323c8b4903676b05259847e6534c82a2629a0c852e621de7c47')
-b2sums=('a00ade1a849ffed98d10ddbbca5300e6f9fca9fc60663ff6e59979613a013b408829d35d9362cdf830ef08cd494ca4a47dab919ce29ce7111ee0fdaa3e301f24')
+sha256sums=('6cc01bea6ba435cafcc579753742b9c7e5438a61443bdd14110115d7a4dd90a5')
+b2sums=('61de9eaf7fe8570a1447d2ad514ad9baa97bd49f48dbde41b35a69019ee8bddae538a525880e866e531afcfc21179bbbc7e6c106d75265b2755309dc51faa451')
 
 prepare() {
-  cd ${pkgname}-py-${pkgver}
+  cd ${pkgname}-${pkgver}
+  # https://github.com/asciidoc-py/asciidoc-py/issues/201#issuecomment-1047494681
+  sed -i -e '/pytest$/s!$! tests/test_utils.py!' Makefile.in
   # https://github.com/asciidoc-py/asciidoc-py/issues/234
   autoconf
 }
 
 build() {
-  cd ${pkgname}-py-${pkgver}
+  cd ${pkgname}-${pkgver}
   # https://github.com/asciidoc-py/asciidoc-py/issues/234#issuecomment-1045970138
   ./configure \
       --docdir /usr/share/doc/$pkgname \
@@ -48,12 +50,12 @@
 }
 
 check() {
-  cd ${pkgname}-py-${pkgver}
+  cd ${pkgname}-${pkgver}
   make test
 }
 
 package() {
-  cd ${pkgname}-py-${pkgver}
+  cd ${pkgname}-${pkgver}
   make DESTDIR="${pkgdir}" install
   make DESTDIR="${pkgdir}" docs
   install -Dm0644 -t "$pkgdir/usr/share/man/man1/" doc/*.1
@@ -60,6 +62,4 @@
   # ascidocapi is deprecated, but still included in 10.x on a "provisional" basis
   local _platlib="$(python -c 'import sysconfig; print(sysconfig.get_paths()["platlib"])')"
   install -Dm0644 -t "${pkgdir}/${_platlib}/${pkgname}/" asciidoc/api.py
-  # https://github.com/asciidoc-py/asciidoc-py/issues/241
-  rm -rf "${pkgdir}/${_platlib}/tests"
 }



More information about the arch-commits mailing list