commit:     c8c7ec36ca73ab377a891e22649d1066e4e6526e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 12 19:38:54 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 12 19:39:18 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8c7ec36

app-text/libpaper: add 2.0.8

Notably this drops the help2man dep again which was a bit problematic
because of some Portage quirks.

Bug: https://bugs.gentoo.org/888703
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/libpaper/Manifest              |  1 +
 app-text/libpaper/libpaper-2.0.8.ebuild | 24 ++++++++++++++++++++++++
 2 files changed, 25 insertions(+)

diff --git a/app-text/libpaper/Manifest b/app-text/libpaper/Manifest
index d10dc9fbe506..70fa22a2e4fc 100644
--- a/app-text/libpaper/Manifest
+++ b/app-text/libpaper/Manifest
@@ -1,4 +1,5 @@
 DIST libpaper-2.0.4.tar.gz 1286975 BLAKE2B 
2751422ca3176d1f47d98c74d948d986e6dcff15acbac126535f526312900650e25fa0a4d68ceebc5d718f5135be22a9f9407d690dc5d5e22eab9dc55b040fc8
 SHA512 
d603a807c8fdc57b704cdfdc90bedf05c54c8a7b67e8cf52f26298c22a6cee5291fcadc6e67d28b00cf9d68f4890a394e56c8e91f0b97c8edfac4662fe4dc8f0
 DIST libpaper-2.0.5.tar.gz 1287165 BLAKE2B 
49577f97e29dd64f08aac30dc22a9e738c7efcd41e9a6c91b512216a19489234c78beea5070033ca27e8314b6b78dee5e5999132e559a69b8d4f874263ecba07
 SHA512 
ce8160d84e61a80ca998f78272e21ced9e3b061396d38c6d75861294b5451337a5abeb36bc5bc91792f7c484d771c601170aa19311d71be1b6db7789b54218df
 DIST libpaper-2.0.7.tar.gz 1288966 BLAKE2B 
cac216c0a265c9299ac0eca3151280ea5c3f1466dabf726b3532f524af49e9d6ed2e5eac1fa908cea14dbffec9b9d59556459b2deaf20da49f14bd72402e432b
 SHA512 
5c552266adc4a887c4fde0e1a29f9d79ba8b959bd842399a04939b20c75d86f48424c06d37087a21dcd3e2e65d42d95b170eac8d825ebdae3f15534c14d5a6c7
+DIST libpaper-2.0.8.tar.gz 1304248 BLAKE2B 
d42b239b5e6d79fccc42508ab55e3d0a7b7f688c288aae7a75286332cd13d563e6164289195e7b67ef1216d5b4d4127a75dffe4bbe97080e093f89b64f48a57b
 SHA512 
06318779cee2d1cf9bea090a5956f90bf8cccc0d753eb7c931615c0dcb321e012ea870a20613b84e7f4350ab608237a2d21d5170c119d8908c86a94e0cba1d1f
 DIST libpaper_1.1.28.tar.gz 42356 BLAKE2B 
48c4a28c6ff01bd91e257b6b306e787e5c6112052cff09bdb501d1cc4ddd10964c3588942098a6092d5a44391dfb22e10d5147d4c5012497f473473129ff7422
 SHA512 
3bf6ebb0af89931d2f72ea4a09a7fa958b2facda5f238983ec7bac39652e08614b33f0de3af74a03457b2a4203eee4950bf18a4b726e79aa64093ace6a1fb0bc

diff --git a/app-text/libpaper/libpaper-2.0.8.ebuild 
b/app-text/libpaper/libpaper-2.0.8.ebuild
new file mode 100644
index 000000000000..d77438c2f590
--- /dev/null
+++ b/app-text/libpaper/libpaper-2.0.8.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Library for handling paper characteristics"
+HOMEPAGE="https://github.com/rrthomas/libpaper";
+SRC_URI="https://github.com/rrthomas/libpaper/releases/download/v${PV}/${P}.tar.gz";
+
+# See README.
+# paperspecs is public-domain
+LICENSE="LGPL-2.1+ GPL-3+ public-domain"
+SLOT="0/$(ver_cut 1)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+src_configure() {
+       econf --enable-relocatable
+}
+
+src_install() {
+       default
+
+       find "${ED}" -type f -name '*.la' -delete || die
+}

Reply via email to