commit:     e7c7e30c410940a06bfdcbed35bf65c9c0239b72
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 27 07:11:40 2023 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Jul 27 07:36:44 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7c7e30c

dev-lisp/asdf: Revert texinfo dependency and other small fixes

- virtual/texi2dvi was correct; it is needed for texi2pdf.
- Use constant install location for the HTML documentation.
- Drop old blockers, these packages have been removed in 2012.
- Move test dependency to BDEPEND.
- Update HOMEPAGE and SRC_URI.

Bug: https://bugs.gentoo.org/883439
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 .../asdf/{asdf-3.3.5.ebuild => asdf-3.3.5-r1.ebuild}     | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/dev-lisp/asdf/asdf-3.3.5.ebuild 
b/dev-lisp/asdf/asdf-3.3.5-r1.ebuild
similarity index 83%
rename from dev-lisp/asdf/asdf-3.3.5.ebuild
rename to dev-lisp/asdf/asdf-3.3.5-r1.ebuild
index 9acbc8d5209d..5cf771e6dcca 100644
--- a/dev-lisp/asdf/asdf-3.3.5.ebuild
+++ b/dev-lisp/asdf/asdf-3.3.5-r1.ebuild
@@ -6,8 +6,8 @@ EAPI=7
 inherit prefix common-lisp-3
 
 DESCRIPTION="ASDF is Another System Definition Facility for Common Lisp"
-HOMEPAGE="http://common-lisp.net/project/asdf/";
-SRC_URI="http://common-lisp.net/project/${PN}/archives/${P}.tar.gz";
+HOMEPAGE="https://asdf.common-lisp.dev/";
+SRC_URI="https://asdf.common-lisp.dev/archives/${P}.tar.gz";
 
 LICENSE="MIT"
 SLOT="0/${PVR}"
@@ -15,10 +15,8 @@ KEYWORDS="~alpha amd64 ~ia64 ~mips ppc ppc64 ~riscv sparc 
x86 ~amd64-linux ~x86-
 IUSE="doc test"
 RESTRICT="!test? ( test )"
 
-DEPEND="!dev-lisp/cl-${PN}
-       !<dev-lisp/asdf-2.33-r3
+BDEPEND="doc? ( virtual/texi2dvi )
        test? ( virtual/commonlisp )"
-BDEPEND="doc? ( sys-apps/texinfo )"
 PDEPEND="virtual/commonlisp
        ~dev-lisp/uiop-${PV}"
 
@@ -33,10 +31,12 @@ install_docs() {
                dodoc *.{html,css,ico,png} ${PN}.pdf
                doinfo ${PN}.info
 
-               if has_version -b '<sys-apps/texinfo-7'; then
-                       dodoc -r asdf
-               else
+               # texinfo-7 renamed the dir from asdf to asdf_html #883439
+               if [[ -d asdf_html ]]; then
                        dodoc -r asdf_html
+               else
+                       docinto asdf_html
+                       dodoc -r asdf/.
                fi
        )
 }

Reply via email to