diff options
Diffstat (limited to 'main/lua-aports')
-rw-r--r-- | main/lua-aports/0001-db-fix-split_deps-to-support-fuzzy-operator.patch | 25 | ||||
-rw-r--r-- | main/lua-aports/APKBUILD | 9 |
2 files changed, 31 insertions, 3 deletions
diff --git a/main/lua-aports/0001-db-fix-split_deps-to-support-fuzzy-operator.patch b/main/lua-aports/0001-db-fix-split_deps-to-support-fuzzy-operator.patch new file mode 100644 index 0000000000..a67547116d --- /dev/null +++ b/main/lua-aports/0001-db-fix-split_deps-to-support-fuzzy-operator.patch @@ -0,0 +1,25 @@ +From 10d9b456afb0f9eba3c24a68b2861f94dc129e07 Mon Sep 17 00:00:00 2001 +From: Jakub Jirutka <jakub@jirutka.cz> +Date: Sun, 5 Aug 2018 12:12:00 +0200 +Subject: [PATCH] db: fix split_deps() to support fuzzy operator ~ + +--- + aports/db.lua | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/aports/db.lua b/aports/db.lua +index 90dbeef..bb7e136 100644 +--- a/aports/db.lua ++++ b/aports/db.lua +@@ -23,7 +23,7 @@ local function split_deps(str) + return nil + end + for e in string.gmatch(str, "%S+") do +- t[#t + 1] = string.gsub(e, "[=<>].*", "") ++ t[#t + 1] = string.gsub(e, "[=<>~].*", "") + end + return t + end +-- +2.16.4 + diff --git a/main/lua-aports/APKBUILD b/main/lua-aports/APKBUILD index 7debc34a6f..f7fa05853b 100644 --- a/main/lua-aports/APKBUILD +++ b/main/lua-aports/APKBUILD @@ -1,14 +1,16 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=lua-aports pkgver=0.7.0 -pkgrel=0 +pkgrel=1 pkgdesc="Lua modules for parsing aports tree" url="https://dev.alpinelinux.org/archive/lua-aports/" arch="noarch" license="MIT" depends="lua5.2-cjson lua5.2-filesystem lua5.2-optarg lua5.2" replaces="abuild" -source="https://dev.alpinelinux.org/archive/lua-aports/lua-aports-$pkgver.tar.xz" +source="https://dev.alpinelinux.org/archive/lua-aports/lua-aports-$pkgver.tar.xz + 0001-db-fix-split_deps-to-support-fuzzy-operator.patch + " builddir="$srcdir/$pkgname-$pkgver" package() { @@ -16,4 +18,5 @@ package() { make DESTDIR="$pkgdir" install } -sha512sums="35128b086218fd5bb4df8f78c6ccc45beffdd50143656d938e68ca83e718ec6586fbfcadcd838ffd132ea59017f56960603f3fbead6da548258f4a0d532537eb lua-aports-0.7.0.tar.xz" +sha512sums="35128b086218fd5bb4df8f78c6ccc45beffdd50143656d938e68ca83e718ec6586fbfcadcd838ffd132ea59017f56960603f3fbead6da548258f4a0d532537eb lua-aports-0.7.0.tar.xz +bcf525e06d5125c724474b055b3cf7dc060632cd4aa19fe2079b53352e2c37ce49392d9261fbb78a6d8aba0cbe8b93ef68041185721ab6b31af314e53f196dd1 0001-db-fix-split_deps-to-support-fuzzy-operator.patch" |