summaryrefslogtreecommitdiff
path: root/dev-lisp/cl-str
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lisp/cl-str')
-rw-r--r--dev-lisp/cl-str/Manifest1
-rw-r--r--dev-lisp/cl-str/cl-str-0.19.ebuild24
-rw-r--r--dev-lisp/cl-str/files/remove-uiop-read-from-asd-file.patch13
3 files changed, 38 insertions, 0 deletions
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))))