From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 011B2138359 for ; Wed, 19 Aug 2020 03:55:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1F3B5E0841; Wed, 19 Aug 2020 03:55:43 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BF116E0841 for ; Wed, 19 Aug 2020 03:55:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BE53534F311 for ; Wed, 19 Aug 2020 03:55:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5D0442FE for ; Wed, 19 Aug 2020 03:55:40 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1597809321.cafdf3e090f07d9a3d206af6bdc593db16b1c0a9.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/asciidoc/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/asciidoc/Manifest app-text/asciidoc/asciidoc-9.0.0_rc2.ebuild app-text/asciidoc/asciidoc-9.0.2.ebuild X-VCS-Directories: app-text/asciidoc/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: cafdf3e090f07d9a3d206af6bdc593db16b1c0a9 X-VCS-Branch: master Date: Wed, 19 Aug 2020 03:55:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 187aeb73-5f1a-4d9f-9b7d-1d9bf21739ec X-Archives-Hash: 3fb04e074546d7e40dada71f85c2d803 commit: cafdf3e090f07d9a3d206af6bdc593db16b1c0a9 Author: Marc Joliet gmx de> AuthorDate: Sun Jul 5 14:34:36 2020 +0000 Commit: Matt Turner gentoo org> CommitDate: Wed Aug 19 03:55:21 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cafdf3e0 app-text/asciidoc-9.0.2: version bump Bump app-text/asciidoc to version 9.0.2. This series updated to a new top-level Makefile, which the ebuild now makes use of. It also replaces the "examples" USE flag with "doc", since the new Makefile has a corresponding target "docs" that also includes the example website. This commit also adds Python 3.9 to $PYTHON_TARGETS, since the tests pass when run under it. Closes: https://bugs.gentoo.org/732658 Closes: https://github.com/gentoo/gentoo/pull/16934 Signed-off-by: Marc Joliet gmx.de> Signed-off-by: Matt Turner gentoo.org> app-text/asciidoc/Manifest | 2 +- ...idoc-9.0.0_rc2.ebuild => asciidoc-9.0.2.ebuild} | 26 +++++++++------------- 2 files changed, 11 insertions(+), 17 deletions(-) diff --git a/app-text/asciidoc/Manifest b/app-text/asciidoc/Manifest index 93bda0acf7c..53acfdadb8b 100644 --- a/app-text/asciidoc/Manifest +++ b/app-text/asciidoc/Manifest @@ -1,2 +1,2 @@ DIST asciidoc-8.6.10_p20181016.tar.gz 576694 BLAKE2B 4d255606675346d00ab03398bf48cb30d357f9f9366944e4faf66ae4c96dafce49acdd930fc848f3dbb2d704a004bb5815d17b53416a76c8368a92e4716328b2 SHA512 801f360b0c444e932f1c50897d446de0ec3f0fb2206080b5aa6dda396fede96065f7bb629a84c8a8e40c5d8897f305fdb1877512f04ae757f3b142fd3a7305d0 -DIST asciidoc-9.0.0_rc2.tar.gz 1145229 BLAKE2B e820a957a5e03f8b28e94fb0e9514b2beebe5b08a30357b7ab70db326894270972cfee1b44c30d51dc1c4794e91a09e36acbf9e464386d9e932ac7d32e2f8e93 SHA512 61ea1eb74a2e2da76f92e32ef279f8940fa4ea77a82078e15b54c7c6f134e9d177b0425c6eb8a239cfd2dc6a6f85ad5e93883a447a3e0e92850c0898747b5ea3 +DIST asciidoc-9.0.2.tar.gz 1144308 BLAKE2B 5f5deca6b8c15d4b86e2bd6fdb131908eecd862a5fdbbd8418937050d335a25ad012a3b1bc716379f5623db676176fc6da1a09691c2b42a213a6230281626b69 SHA512 ea8f64ce54d2f1aa38eceb3c1c9be17b388776de58038f3b888ac5ebed76337fa2779e43eb7f47174adf0a0446ee808dbd1e4f8f7e1d7db99db7c4c8584d5624 diff --git a/app-text/asciidoc/asciidoc-9.0.0_rc2.ebuild b/app-text/asciidoc/asciidoc-9.0.2.ebuild similarity index 78% rename from app-text/asciidoc/asciidoc-9.0.0_rc2.ebuild rename to app-text/asciidoc/asciidoc-9.0.2.ebuild index a9c28a00349..51bbc5e7936 100644 --- a/app-text/asciidoc/asciidoc-9.0.0_rc2.ebuild +++ b/app-text/asciidoc/asciidoc-9.0.2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) +PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) inherit autotools eutils python-single-r1 readme.gentoo-r1 @@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}-py3/archive/${PV/_/}.tar.gz -> ${P}.tar. LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="examples test" +IUSE="doc test" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RESTRICT="!test? ( test )" @@ -54,6 +54,9 @@ src_prepare() { sed -i -e "s:^CONF_DIR=.*:CONF_DIR='${EPREFIX}/etc/asciidoc':" \ asciidoc.py || die + # enforce usage of the configured version of Python + sed -i -e "s:python3:${EPYTHON}:" Makefile.in || die + eautoreconf } @@ -61,25 +64,16 @@ src_configure() { econf --sysconfdir="${EPREFIX}"/usr/share } -src_test() { - local -x ASCIIDOC_PY=asciidoc.py - "${EPYTHON}" tests/test${PN}.py run || die -} - src_install() { default + + if use doc; then + emake DESTDIR="${D}" docs + fi + python_fix_shebang "${ED}"/usr/bin/*.py readme.gentoo_create_doc - - # Below results in some files being installed twice in different locations, but they are - # in the right place, uncompressed, and there won't be any broken links. See bug #483336 - if use examples; then - # examples/website is full of relative symlinks, - # deref them for copying, which dodoc doesn't do - cp -rL examples/website "${ED}"/usr/share/doc/${PF}/examples || die - docompress -x /usr/share/doc/${PF}/examples - fi } pkg_postinst() {