From 94e656959aba02491bf2f665391369d69c0fb039 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Wed, 27 Oct 2021 11:07:27 +0200 Subject: asciidoc: update 9.1.1 -> 10.0.0 Convert from autotools to setuptools. Signed-off-by: Alexander Kanavin Signed-off-by: Alexandre Belloni --- meta/recipes-extended/asciidoc/asciidoc_10.0.0.bb | 27 +++++++++++++++++++ meta/recipes-extended/asciidoc/asciidoc_9.1.1.bb | 32 ----------------------- 2 files changed, 27 insertions(+), 32 deletions(-) create mode 100644 meta/recipes-extended/asciidoc/asciidoc_10.0.0.bb delete mode 100644 meta/recipes-extended/asciidoc/asciidoc_9.1.1.bb diff --git a/meta/recipes-extended/asciidoc/asciidoc_10.0.0.bb b/meta/recipes-extended/asciidoc/asciidoc_10.0.0.bb new file mode 100644 index 0000000000..f7fa66851d --- /dev/null +++ b/meta/recipes-extended/asciidoc/asciidoc_10.0.0.bb @@ -0,0 +1,27 @@ +SUMMARY = "Tool for creating HTML, PDF, EPUB, man pages" +DESCRIPTION = "AsciiDoc is a text document format for writing short documents, \ +articles, books and UNIX man pages." + +HOMEPAGE = "http://asciidoc.org/" + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=4e5d1baf6f20559e3bec172226a47e4e \ + file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263 " + +SRC_URI = "git://github.com/asciidoc/asciidoc-py3;protocol=https;branch=main" +SRCREV = "4667219e473a24e8e645eb9b9fb0a7ddba322f44" + +DEPENDS = "libxml2-native libxslt-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native" + +S = "${WORKDIR}/git" + +# Tell xmllint where to find the DocBook XML catalogue, because right now it +# opens /etc/xml/catalog on the host. Depends on auto-catalogs.patch +export SGML_CATALOG_FILES="file://${STAGING_ETCDIR_NATIVE}/xml/catalog" + +inherit setuptools3 +CLEANBROKEN = "1" + +BBCLASSEXTEND = "native nativesdk" + +UPSTREAM_CHECK_GITTAGREGEX = "(?P(\d+(\.\d+)+))$" diff --git a/meta/recipes-extended/asciidoc/asciidoc_9.1.1.bb b/meta/recipes-extended/asciidoc/asciidoc_9.1.1.bb deleted file mode 100644 index f295b80733..0000000000 --- a/meta/recipes-extended/asciidoc/asciidoc_9.1.1.bb +++ /dev/null @@ -1,32 +0,0 @@ -SUMMARY = "Tool for creating HTML, PDF, EPUB, man pages" -DESCRIPTION = "AsciiDoc is a text document format for writing short documents, \ -articles, books and UNIX man pages." - -HOMEPAGE = "http://asciidoc.org/" - -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=4e5d1baf6f20559e3bec172226a47e4e \ - file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263 " - -SRC_URI = "git://github.com/asciidoc/asciidoc-py3;protocol=https;branch=9.x" -SRCREV = "08b430eb317c584aa6f02a3c4372035a4d8b92c4" - -DEPENDS = "libxml2-native libxslt-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native" - -S = "${WORKDIR}/git" - -# Tell xmllint where to find the DocBook XML catalogue, because right now it -# opens /etc/xml/catalog on the host. Depends on auto-catalogs.patch -export SGML_CATALOG_FILES="file://${STAGING_ETCDIR_NATIVE}/xml/catalog" - -# Not using automake -inherit autotools-brokensep -CLEANBROKEN = "1" - -# target and nativesdk needs python3, but for native we can use the host. -RDEPENDS:${PN} += "python3" -RDEPENDS:remove:class-native = "python3" - -BBCLASSEXTEND = "native nativesdk" - -UPSTREAM_CHECK_GITTAGREGEX = "(?P(\d+(\.\d+)+))$" -- cgit 1.2.3-korg