summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Arthur Nascimento <tureba@gmail.com> 2017-12-12 18:45:18 -0200
committerAvatar Heiko Becker <heirecka@exherbo.org> 2017-12-14 22:22:22 +0100
commitb00ca80f4dd961afb16e157d6f02023b2a2fa28d (patch)
tree77a5109c3835539a9ec02f90d7f720ec2f2bcc0f
parent4d1be9e795ad2916b15dc0872187982e39f09007 (diff)
downloadarbor-master.tar.gz
arbor-master.tar.xz
asciidoc: bump to 8.6.10HEADmaster
Homepage is supposedly the same, but it was moved to github hosting (https certificate is github). Also, it has become outdated ever since the new version was released and it's uncertain if it will be updated again. So we might as well use the github address as the homepage one. Build needs autoconf and automake now. And asciidoc is still stuck in python2 for the forseable future. They fixed the shebang but not the Makefile. Change-Id: Ie2bfa77b97fa90993a0deddaff98b846d46bc340
-rw-r--r--packages/app-doc/asciidoc/asciidoc-8.6.10.exheres-0 (renamed from packages/app-doc/asciidoc/asciidoc-8.6.9.exheres-0)23
1 files changed, 12 insertions, 11 deletions
diff --git a/packages/app-doc/asciidoc/asciidoc-8.6.9.exheres-0 b/packages/app-doc/asciidoc/asciidoc-8.6.10.exheres-0
index db9ba7d..803ba5b 100644
--- a/packages/app-doc/asciidoc/asciidoc-8.6.9.exheres-0
+++ b/packages/app-doc/asciidoc/asciidoc-8.6.10.exheres-0
@@ -4,7 +4,7 @@
# Distributed under the terms of the GNU General Public License v2
require python [ blacklist='3' has_bin=true multibuild=false ] \
- sourceforge [ suffix=tar.gz ]
+ github autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
SUMMARY="Text based document generation"
DESCRIPTION="
@@ -15,8 +15,6 @@ AsciiDoc is highly configurable: both the AsciiDoc source file syntax and the
backend output markups (which can be almost any type of SGML/XML markup) can
be customized and extended by the user."
-HOMEPAGE="http://asciidoc.org/"
-
LICENCES="GPL-2"
SLOT="0"
PLATFORMS="~amd64 ~arm ~armv7 ~x86"
@@ -33,18 +31,21 @@ DEPENDENCIES="
"
UPSTREAM_DOCUMENTATION="
- http://powerman.name/doc/asciidoc [[ description = [ Cheatsheet ] ]]
- ${HOMEPAGE}userguide.html [[ description = [ User Guide ] ]]
- ${HOMEPAGE}faq.html [[ description = [ FAQ ] ]]
+ https://powerman.name/doc/asciidoc [[ description = [ Cheatsheet ] ]]
+ https://asciidoc.org/userguide.html [[ description = [ User Guide ] ]]
+ https://asciidoc.org/faq.html [[ description = [ FAQ ] ]]
"
-UPSTREAM_RELEASE_NOTES="${HOMEPAGE}CHANGELOG.html"
+UPSTREAM_RELEASE_NOTES="${HOMEPAGE}/blob/${PV}/CHANGELOG.txt"
+
+src_configure() {
+ # https://github.com/asciidoc/asciidoc/issues/118
+ edo sed -i -e '/a2x/s/\<python\>/python2/' "${WORK}"/Makefile.in
-src_install() {
default
+}
- # fix shebang
- edo sed -i -e "s:#!/usr/bin/env python:#!/usr/bin/env python2:" \
- "${IMAGE}"/usr/$(exhost --target)/bin/{asciidoc,a2x}.py
+src_install() {
+ default
if option vim-syntax; then
insinto /usr/share/vim/vimfiles/syntax