commit 1343690d865b79316395afa9cef31e2e2d01da4dbf12ee1b22cbe1f2b5c9e107 Author: Dirk Stoecker Date: Wed Aug 25 18:12:34 2021 +0000 Accepting request 914014 from devel:languages:perl:CPAN-X Needed for perl-Syntax-Keyword-Try update. OBS-URL: https://build.opensuse.org/request/show/914014 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XS-Parse-Keyword?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/XS-Parse-Keyword-0.12.tar.gz b/XS-Parse-Keyword-0.12.tar.gz new file mode 100644 index 0000000..74b1e9e --- /dev/null +++ b/XS-Parse-Keyword-0.12.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c8f87109da973eef7a8a9b48efcf89d03f69ea488d79b8f96e16479638833c33 +size 45773 diff --git a/perl-XS-Parse-Keyword.changes b/perl-XS-Parse-Keyword.changes new file mode 100644 index 0000000..608b9c5 --- /dev/null +++ b/perl-XS-Parse-Keyword.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Tue Aug 24 12:35:52 UTC 2021 - Dirk Stoecker + +- initial package 0.12 + * created by cpanspec 1.81.01 diff --git a/perl-XS-Parse-Keyword.spec b/perl-XS-Parse-Keyword.spec new file mode 100644 index 0000000..eea387f --- /dev/null +++ b/perl-XS-Parse-Keyword.spec @@ -0,0 +1,65 @@ +# +# spec file for package perl-XS-Parse-Keyword +# +# Copyright (c) 2021 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define cpan_name XS-Parse-Keyword +Name: perl-XS-Parse-Keyword +Version: 0.12 +Release: 0 +License: Artistic-1.0 OR GPL-1.0-or-later +Summary: XS functions to assist in parsing keyword syntax +URL: https://metacpan.org/release/%{cpan_name} +Source0: XS-Parse-Keyword-0.12.tar.gz +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(ExtUtils::CBuilder) +BuildRequires: perl(ExtUtils::CChecker) >= 0.11 +BuildRequires: perl(Module::Build) >= 0.400400 +BuildRequires: perl(Test::More) >= 0.88 +%{perl_requires} + +%description +This module provides some XS functions to assist in writing syntax modules +that provide new perl-visible syntax, primarily for authors of keyword +plugins using the 'PL_keyword_plugin' hook mechanism. It is unlikely to be +of much use to anyone else; and highly unlikely to be any use when writing +perl code using these. Unless you are writing a keyword plugin using XS, +this module is not for you. + +This module is also currently experimental, and the design is still +evolving and subject to change. Later versions may break ABI compatibility, +requiring changes or at least a rebuild of any module that depends on it. + +%prep +%autosetup -n %{cpan_name}-%{version} + +%build +perl Build.PL installdirs=vendor optimize="%{optflags}" +./Build build flags=%{?_smp_mflags} + +%check +./Build test + +%install +./Build install destdir=%{buildroot} create_packlist=0 +%perl_gen_filelist + +%files -f %{name}.files +%doc Changes README +%license LICENSE + +%changelog