From b03337232e5891ee9a301ffe162d7d4dbbae404e Mon Sep 17 00:00:00 2001 From: q66 Date: Wed, 1 Jul 2020 18:12:05 +0200 Subject: [PATCH] editorconfig-core-lua: update to 0.3.0, rename to lua53-editorconfig-core --- srcpkgs/editorconfig-core-lua | 1 + .../patches/testing-not-included.patch | 16 ----------- srcpkgs/editorconfig-core-lua/template | 20 -------------- srcpkgs/lua53-editorconfig-core/template | 27 +++++++++++++++++++ 4 files changed, 28 insertions(+), 36 deletions(-) create mode 120000 srcpkgs/editorconfig-core-lua delete mode 100644 srcpkgs/editorconfig-core-lua/patches/testing-not-included.patch delete mode 100644 srcpkgs/editorconfig-core-lua/template create mode 100644 srcpkgs/lua53-editorconfig-core/template diff --git a/srcpkgs/editorconfig-core-lua b/srcpkgs/editorconfig-core-lua new file mode 120000 index 00000000000..471164cd781 --- /dev/null +++ b/srcpkgs/editorconfig-core-lua @@ -0,0 +1 @@ +lua53-editorconfig-core \ No newline at end of file diff --git a/srcpkgs/editorconfig-core-lua/patches/testing-not-included.patch b/srcpkgs/editorconfig-core-lua/patches/testing-not-included.patch deleted file mode 100644 index 39dad5031a7..00000000000 --- a/srcpkgs/editorconfig-core-lua/patches/testing-not-included.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- CMakeLists.txt.orig -+++ CMakeLists.txt -@@ -109,8 +109,8 @@ function(new_ec_test_full_ec_file_path name ec_file src_file regex) - set_tests_properties(${name}-open ${name}-parse PROPERTIES PASS_REGULAR_EXPRESSION "${regex}") - endfunction() - --add_subdirectory(tests/glob) --add_subdirectory(tests/properties) --add_subdirectory(tests/parser) --add_subdirectory(tests/filetree) -+#add_subdirectory(tests/glob) -+#add_subdirectory(tests/properties) -+#add_subdirectory(tests/parser) -+#add_subdirectory(tests/filetree) - #add_subdirectory(tests/cli) - diff --git a/srcpkgs/editorconfig-core-lua/template b/srcpkgs/editorconfig-core-lua/template deleted file mode 100644 index 864017d3066..00000000000 --- a/srcpkgs/editorconfig-core-lua/template +++ /dev/null @@ -1,20 +0,0 @@ -# Template file for 'editorconfig-lua' -pkgname=editorconfig-core-lua -version=0.2.0 -revision=1 -build_style=cmake -makedepends="editorconfig-devel lua-devel" -short_desc="EditorConfig core library written in Lua" -maintainer="Felix Van der Jeugt " -license="BSD-2-Clause" -homepage="https://github.com/editorconfig/${pkgname}" -distfiles="https://github.com/editorconfig/${pkgname}/archive/v${version}.tar.gz" -checksum=cce8fc6a02d41a665bee098b275026ab9b9043f97c553a3019ade650779b13a0 - -do_install() { - vinstall build/editorconfig_core.so 755 usr/lib/lua/5.3/ -} - -post_install() { - vlicense LICENSE -} diff --git a/srcpkgs/lua53-editorconfig-core/template b/srcpkgs/lua53-editorconfig-core/template new file mode 100644 index 00000000000..5db1475fdfb --- /dev/null +++ b/srcpkgs/lua53-editorconfig-core/template @@ -0,0 +1,27 @@ +# Template file for 'lua53-editorconfig-core' +pkgname=lua53-editorconfig-core +version=0.3.0 +revision=1 +wrksrc=editorconfig-core-lua-${version} +build_style=cmake +makedepends="editorconfig-devel lua53-devel" +short_desc="EditorConfig core library written in Lua (5.3.x)" +maintainer="Felix Van der Jeugt " +license="BSD-2-Clause" +homepage="https://github.com/editorconfig/editorconfig-core-lua" +distfiles="https://github.com/editorconfig/editorconfig-core-lua/archive/v${version}.tar.gz" +checksum=2dfb764a89e339d9c9140de241ea6b9162c295e78bc3e946c5ce6f40784a74c4 + +do_install() { + vinstall build/editorconfig.so 755 usr/lib/lua/5.3/ +} + +post_install() { + vlicense LICENSE +} + +editorconfig-core-lua_package() { + depends="lua53-editorconfig-core>=${version}_${revision}" + short_desc+=" (transitional dummy package)" + build_style=meta +}