Gentoo Archives: gentoo-lisp

From: "Anna (cybertailor) Vyalkova" <cyber+gentoo@×××××.in>
To: gentoo-lisp@l.g.o
Cc: "Anna “CyberTailor”" <cyber@×××××.in>
Subject: [gentoo-lisp] [PATCH 05/11] dev-lisp/cffi: add 0.24.1, drop 0.18.0 and live
Date: Sun, 19 Dec 2021 09:30:23
Message-Id: 20211219092948.27384-5-cyber+gentoo@sysrq.in
In Reply to: [gentoo-lisp] [PATCH 01/11] dev-lisp/fiveam: add 1.4.2 by "Anna (cybertailor) Vyalkova"
1 From: Anna “CyberTailor” <cyber@×××××.in>
2
3 ---
4 dev-lisp/cffi/Manifest | 2 +-
5 ...{cffi-0.18.0.ebuild => cffi-0.24.1.ebuild} | 42 ++++++++---------
6 dev-lisp/cffi/cffi-9999.ebuild | 47 -------------------
7 3 files changed, 22 insertions(+), 69 deletions(-)
8 rename dev-lisp/cffi/{cffi-0.18.0.ebuild => cffi-0.24.1.ebuild} (51%)
9 delete mode 100644 dev-lisp/cffi/cffi-9999.ebuild
10
11 diff --git a/dev-lisp/cffi/Manifest b/dev-lisp/cffi/Manifest
12 index 79c0e90..6c1d19e 100644
13 --- a/dev-lisp/cffi/Manifest
14 +++ b/dev-lisp/cffi/Manifest
15 @@ -1,2 +1,2 @@
16 DIST cffi-0.19.0.tar.gz 248822 BLAKE2B a9dec38d67c6ecc8d9ed372d98360c29fb5ba178714183dee65fd334cc19b9941c3ca544438caae32c91300dcd0694f0e089ba633f10f8623fd901ce64ad8c2e SHA512 02af9ea01a909f1ec2d21ab79acbbd09167ae34cde91085fc1b276e85736451102098543727724698ac459eb8161dd4061fb86832b8ce374e327168acc0073e4
17 -DIST cffi.tar.gz 249345 BLAKE2B 79e3c0e2525f7cf0cde80feb22a21791ab48e9e89c78708ae1c6f4ffbf3c44d3c0640db5e7339f6685450b9bd7a13e3800d0f650c47ffb814343f4733dad3096 SHA512 b7d0ec511ca434c2c8bb9b6a0a4404ce06aeec040e285353c386d805d0175a3b1830a7ab0c5fb47a6231793eb4df8f3844bf7f5779d0099c3fb25ea85bb28ff5
18 +DIST cffi-0.24.1.tar.gz 254450 BLAKE2B f377ee8e0e93978e4af1a9b8ac3d253daad0fa2064bde3c9ce7faa9bcdb54cfdb068bf1f28d7dee560ebcb125d28df8e51a48000db76eef252facd2c9c84496f SHA512 acbc3a29e00ea14520a3dd4beae78ac62091d87c432cfc9097d2f8e8f6e79f832d3ae768a9be105c86c1472f5057f3c20630f6edf79cbd7fd9f24762bb09a1e1
19 diff --git a/dev-lisp/cffi/cffi-0.18.0.ebuild b/dev-lisp/cffi/cffi-0.24.1.ebuild
20 similarity index 51%
21 rename from dev-lisp/cffi/cffi-0.18.0.ebuild
22 rename to dev-lisp/cffi/cffi-0.24.1.ebuild
23 index 87527e8..bcd2d5a 100644
24 --- a/dev-lisp/cffi/cffi-0.18.0.ebuild
25 +++ b/dev-lisp/cffi/cffi-0.24.1.ebuild
26 @@ -1,36 +1,40 @@
27 -# Copyright 1999-2017 Gentoo Foundation
28 +# Copyright 1999-2021 Gentoo Authors
29 # Distributed under the terms of the GNU General Public License v2
30
31 -EAPI=6
32 +EAPI=7
33
34 inherit common-lisp-3
35
36 -MY_P=${PN}_${PV}
37 -
38 DESCRIPTION="The Common Foreign Function Interface (CFFI)"
39 HOMEPAGE="http://common-lisp.net/project/cffi/"
40 -SRC_URI="http://common-lisp.net/project/${PN}/releases/${MY_P}.tar.gz -> ${PN}.tar.gz"
41 +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42
43 LICENSE="MIT"
44 SLOT="0"
45 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
46 IUSE="doc"
47 -
48 -DEPEND="doc? ( dev-lisp/sbcl virtual/texi2dvi )"
49 -RDEPEND="!dev-lisp/cl-${PN}
50 - dev-lisp/alexandria
51 - dev-lisp/babel
52 - dev-lisp/trivial-features"
53 +RESTRICT="test"
54 +
55 +RDEPEND="
56 + !dev-lisp/cl-${PN}
57 + dev-lisp/alexandria
58 + dev-lisp/babel
59 + dev-lisp/trivial-features
60 +"
61 +BDEPEND="doc? (
62 + dev-lisp/sbcl
63 + virtual/texi2dvi
64 +)"
65
66 CLSYSTEMS="cffi.asd cffi-tests.asd cffi-examples.asd cffi-grovel.asd \
67 cffi-uffi-compat.asd cffi-toolchain cffi-libffi"
68
69 -S="${WORKDIR}"/${MY_P}
70 +DOCS=( README.md TODO )
71
72 src_compile() {
73 if use doc ; then
74 - VARTEXFONTS="${T}"/fonts \
75 - make -C doc manual spec || die "Cannot build docs"
76 + VARTEXFONTS="${T}"/fonts emake -C doc manual spec
77 + HTML_DOCS=( doc/{spec,manual} )
78 fi
79 }
80
81 @@ -38,11 +42,7 @@ src_install() {
82 common-lisp-install-sources examples/ src/ uffi-compat/
83 common-lisp-install-sources -t all grovel/ tests/ toolchain/ libffi/
84 common-lisp-install-asdf
85 - dodoc README.md TODO doc/*.txt
86 - if use doc; then
87 - doinfo doc/*.info
88 - rm doc/{spec,manual}/cffi*
89 - insinto /usr/share/doc/${PF}/html
90 - doins -r doc/{spec,manual}
91 - fi
92 + dodoc doc/*.txt
93 + doinfo doc/*.info
94 + einstalldocs
95 }
96 diff --git a/dev-lisp/cffi/cffi-9999.ebuild b/dev-lisp/cffi/cffi-9999.ebuild
97 deleted file mode 100644
98 index b237a12..0000000
99 --- a/dev-lisp/cffi/cffi-9999.ebuild
100 +++ /dev/null
101 @@ -1,47 +0,0 @@
102 -# Copyright 1999-2017 Gentoo Foundation
103 -# Distributed under the terms of the GNU General Public License v2
104 -
105 -EAPI=6
106 -
107 -inherit common-lisp-3 git-r3
108 -
109 -MY_P=${PN}_${PV}
110 -
111 -DESCRIPTION="The Common Foreign Function Interface (CFFI)"
112 -HOMEPAGE="http://common-lisp.net/project/cffi/"
113 -EGIT_REPO_URI="https://github.com/${PN}/${PN}/"
114 -
115 -LICENSE="MIT"
116 -SLOT="0"
117 -IUSE="doc"
118 -
119 -DEPEND="doc? ( dev-lisp/sbcl virtual/texi2dvi )"
120 -RDEPEND="!dev-lisp/cl-${PN}
121 - dev-lisp/alexandria
122 - dev-lisp/babel
123 - dev-lisp/trivial-features"
124 -
125 -CLSYSTEMS="cffi.asd cffi-tests.asd cffi-examples.asd cffi-grovel.asd \
126 - cffi-uffi-compat.asd cffi-toolchain.asd"
127 -
128 -S="${WORKDIR}"/${MY_P}
129 -
130 -src_compile() {
131 - if use doc ; then
132 - VARTEXFONTS="${T}"/fonts \
133 - make -C doc manual spec || die "Cannot build docs"
134 - fi
135 -}
136 -
137 -src_install() {
138 - common-lisp-install-sources examples/ src/ uffi-compat/ toolchain/
139 - common-lisp-install-sources -t all grovel/ tests/
140 - common-lisp-install-asdf
141 - dodoc README.md TODO doc/*.txt
142 - if use doc; then
143 - doinfo doc/*.info
144 - rm doc/{spec,manual}/cffi* || die
145 - insinto /usr/share/doc/${PF}/html
146 - doins -r doc/{spec,manual}
147 - fi
148 -}
149 --
150 2.34.1