]> jturnerusa.dev Git - ebuilds/commitdiff
dev-lisp/cl-str: new ebuild
authorJohn Turner <jturner.usa+gentoo@gmail.com>
Sat, 17 Dec 2022 05:49:48 +0000 (00:49 -0500)
committerJohn Turner <jturner.usa+gentoo@gmail.com>
Sat, 17 Dec 2022 06:47:51 +0000 (01:47 -0500)
dev-lisp/cl-change-case/cl-change-case-0.2.0.ebuild
dev-lisp/cl-change-case/files/remove-uiop-read-file-from-asd.patch [new file with mode: 0644]
dev-lisp/cl-str/Manifest [new file with mode: 0644]
dev-lisp/cl-str/cl-str-0.19.ebuild [new file with mode: 0644]
dev-lisp/cl-str/files/remove-uiop-read-from-asd-file.patch [new file with mode: 0644]

index 460a7f4f3544d2caa92e549f443485ab7992dc5c..3a92aa5712ae45ebefc48aaef4c3e3cb6fd4d613 100644 (file)
@@ -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 (file)
index 0000000..80f6b77
--- /dev/null
@@ -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 (file)
index 0000000..5988f9b
--- /dev/null
@@ -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 (file)
index 0000000..99155fa
--- /dev/null
@@ -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 (file)
index 0000000..262dedb
--- /dev/null
@@ -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))))