[arch-commits] Commit in asciidoc/trunk (PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Sun Oct 18 18:41:47 UTC 2020
Date: Sunday, October 18, 2020 @ 18:41:47
Author: eschwartz
Revision: 726762
upgpkg: asciidoc 9.0.3-1: upstream release
drop some build workarounds now that the new version contains the fixes I requested
Modified:
asciidoc/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-10-18 17:51:24 UTC (rev 726761)
+++ PKGBUILD 2020-10-18 18:41:47 UTC (rev 726762)
@@ -8,7 +8,7 @@
# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
pkgname=asciidoc
-pkgver=9.0.2
+pkgver=9.0.3
pkgrel=1
pkgdesc='Text document format for short documents, articles, books and UNIX man pages.'
arch=('any')
@@ -25,8 +25,8 @@
'w3m: text generation'
'lynx: alternative text generation')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/asciidoc/asciidoc-py3/archive/${pkgver}.tar.gz")
-sha256sums=('ea73425151f56f278433e442f8b5085599765fa120574db65e6d053eb52927e2')
-b2sums=('5f5deca6b8c15d4b86e2bd6fdb131908eecd862a5fdbbd8418937050d335a25ad012a3b1bc716379f5623db676176fc6da1a09691c2b42a213a6230281626b69')
+sha256sums=('c0de1dcf111a200bf85bd81f67bc18778f839e55d761d6c7320095985524853a')
+b2sums=('4e196bddfe400c3758086048089e3d316a8e7909f870b761e23506de8cd5b9871df8a0e1017fafbaa854711ab0d49efe4f8134453c02528ba8b6e1ac1cf0c0ff')
prepare() {
cd ${pkgname}-py3-${pkgver}
@@ -46,9 +46,7 @@
check() {
cd ${pkgname}-py3-${pkgver}
- # this overrides the mocked time in the test
- # https://github.com/asciidoc/asciidoc-py3/issues/131
- env -u SOURCE_DATE_EPOCH make test
+ make test
}
package() {
@@ -57,8 +55,6 @@
make install DESTDIR="${pkgdir}"
make docs DESTDIR="${pkgdir}"
- # junk files: https://github.com/asciidoc/asciidoc-py3/issues/133
- rm -v "${pkgdir}"/usr/share/doc/asciidoc/doc/*.{md5,svg,png}
install -Dm644 asciidocapi.py \
"${pkgdir}/$(python -c 'import sysconfig; print(sysconfig.get_paths()["platlib"])')"/asciidocapi.py
}
More information about the arch-commits
mailing list