From ecc3738db4c917b8fc00f10ff0180027f5540ba2 Mon Sep 17 00:00:00 2001 From: John Turner Date: Sat, 17 Dec 2022 00:49:48 -0500 Subject: [PATCH] dev-lisp/cl-str: new ebuild --- .../cl-change-case-0.2.0.ebuild | 8 +++++-- .../remove-uiop-read-file-from-asd.patch | 13 ++++++++++ dev-lisp/cl-str/Manifest | 1 + dev-lisp/cl-str/cl-str-0.19.ebuild | 24 +++++++++++++++++++ .../remove-uiop-read-from-asd-file.patch | 13 ++++++++++ 5 files changed, 57 insertions(+), 2 deletions(-) create mode 100644 dev-lisp/cl-change-case/files/remove-uiop-read-file-from-asd.patch create mode 100644 dev-lisp/cl-str/Manifest create mode 100644 dev-lisp/cl-str/cl-str-0.19.ebuild create mode 100644 dev-lisp/cl-str/files/remove-uiop-read-from-asd-file.patch diff --git a/dev-lisp/cl-change-case/cl-change-case-0.2.0.ebuild b/dev-lisp/cl-change-case/cl-change-case-0.2.0.ebuild index 460a7f4..3a92aa5 100644 --- a/dev-lisp/cl-change-case/cl-change-case-0.2.0.ebuild +++ b/dev-lisp/cl-change-case/cl-change-case-0.2.0.ebuild @@ -14,5 +14,9 @@ LICENSE="LLGPL-2.1" SLOT=0 KEYWORDS="~amd64" -RDEPENDS="dev-lisp/cl-ppre - dev-lisp/cl-ppre-unicode" +RDEPENDS="dev-lisp/cl-ppcre + dev-lisp/cl-ppcre-unicode" + +PATCHES=( + "${FILESDIR}/remove-uiop-read-file-from-asd.patch" +) diff --git a/dev-lisp/cl-change-case/files/remove-uiop-read-file-from-asd.patch b/dev-lisp/cl-change-case/files/remove-uiop-read-file-from-asd.patch new file mode 100644 index 0000000..80f6b77 --- /dev/null +++ b/dev-lisp/cl-change-case/files/remove-uiop-read-file-from-asd.patch @@ -0,0 +1,13 @@ +diff --git a/cl-change-case.asd b/cl-change-case.asd +index 772f112..ff699b5 100644 +--- a/cl-change-case.asd ++++ b/cl-change-case.asd +@@ -1,7 +1,7 @@ + ;;; cl-change-case.asd + + (defsystem "cl-change-case" +- :version (:read-file-line "version") ++ :version "0.2.0" + :author "Sebastian Christ" + :mailto "rudolfo.christ@gmail.com" + :license "LLGPL" diff --git a/dev-lisp/cl-str/Manifest b/dev-lisp/cl-str/Manifest new file mode 100644 index 0000000..5988f9b --- /dev/null +++ b/dev-lisp/cl-str/Manifest @@ -0,0 +1 @@ +DIST cl-str-0.19.tar.gz 17750 BLAKE2B 0cef03a8258128d7ac69f3dac14190ee6a54287af6245575835e60d00fce8df18a2c79f51a6b2cbc28af228069fabf04e3d44cdc1843ad28391fda2d697ca307 SHA512 0f2e72b9571bd51f4162b5097681aeea3b8b8a29e5c986d928d0f1d2e3036410a2712379104ba61d6a59a16d9e7051a45ca5d452b92f390fc804f002523878e9 diff --git a/dev-lisp/cl-str/cl-str-0.19.ebuild b/dev-lisp/cl-str/cl-str-0.19.ebuild new file mode 100644 index 0000000..99155fa --- /dev/null +++ b/dev-lisp/cl-str/cl-str-0.19.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit common-lisp-3 + +DESCRIPTION="Modern, simple and consistent Common Lisp string manipulation library" +HOMEPAGE="https://vindarel.github.io/cl-str/" +SRC_URI="https://github.com/vindarel/cl-str/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT=0 +KEYWORDS="~amd64" + +RDEPEND="dev-lisp/cl-ppcre + dev-lisp/cl-ppcre-unicode + dev-lisp/cl-change-case" + +# This patch can be removed on >cl-str-0.19 since +# the issue was fixed upstream. +PATCHES=( + "${FILESDIR}/remove-uiop-read-from-asd-file.patch" +) diff --git a/dev-lisp/cl-str/files/remove-uiop-read-from-asd-file.patch b/dev-lisp/cl-str/files/remove-uiop-read-from-asd-file.patch new file mode 100644 index 0000000..262dedb --- /dev/null +++ b/dev-lisp/cl-str/files/remove-uiop-read-from-asd-file.patch @@ -0,0 +1,13 @@ +diff --git a/str.asd b/str.asd +index 90d96dc..8c89fcf 100644 +--- a/str.asd ++++ b/str.asd +@@ -13,8 +13,4 @@ + :cl-ppcre-unicode + :cl-change-case) + :components ((:file "str")) +- +- :long-description +- #.(uiop:read-file-string +- (uiop:subpathname *load-pathname* "README.md")) + :in-order-to ((test-op (test-op :str.test)))) -- 2.39.5