Compare commits
11 Commits
739c474710
...
main
Author | SHA256 | Date | |
---|---|---|---|
7dc88e452f | |||
ef95072723 | |||
f4e3f0c235 | |||
5d52937ff0 | |||
d02e30a9f6 | |||
500962caf0 | |||
54c969f3ce | |||
|
82309bbc66 | ||
|
80d8574c81 | ||
|
e9f8b96e30 | ||
|
dce59ef0a1 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:49cefa832d641a204f044d66ac7928fb8520ab489080744ca6f291bf1e360569
|
|
||||||
size 5092
|
|
3
Module-Extract-Namespaces-1.026.tar.gz
Normal file
3
Module-Extract-Namespaces-1.026.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4bd7217e636601a1b17a79c9dfbd3656c6db8bc8baa66f0d376c7a321dc0dc17
|
||||||
|
size 13646
|
12
README.md
Normal file
12
README.md
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
|
||||||
|
## Build Results
|
||||||
|
|
||||||
|
Current state of perl in openSUSE:Factory is
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
The current state of perl in the devel project build (devel:languages:perl)
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
---
|
||||||
|
#description_paragraphs: 3
|
||||||
|
#description: |-
|
||||||
|
# override description from CPAN
|
||||||
|
#summary: override summary from CPAN
|
||||||
|
#no_testing: broken upstream
|
||||||
|
#sources:
|
||||||
|
# - source1
|
||||||
|
# - source2
|
||||||
|
#patches:
|
||||||
|
# foo.patch: -p1
|
||||||
|
# bar.patch:
|
||||||
|
#preamble: |-
|
||||||
|
# BuildRequires: gcc-c++
|
||||||
|
#post_prep: |-
|
||||||
|
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||||
|
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||||
|
#post_build: |-
|
||||||
|
# rm unused.files
|
||||||
|
#post_install: |-
|
||||||
|
# sed on %{name}.files
|
||||||
|
#license: SUSE-NonFree
|
||||||
|
#skip_noarch: 1
|
||||||
|
#custom_build: |-
|
||||||
|
#./Build build flags=%{?_smp_mflags} --myflag
|
||||||
|
#custom_test: |-
|
||||||
|
#startserver && make test
|
||||||
|
#ignore_requires: Bizarre::Module
|
@@ -1,3 +1,84 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 14 05:37:58 UTC 2025 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 1.26.0 (1.026)
|
||||||
|
see /usr/share/doc/packages/perl-Module-Extract-Namespaces/Changes
|
||||||
|
|
||||||
|
1.026 2025-04-13T19:37:07Z
|
||||||
|
* require a newer version.pm for v5.10.1 tests
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 27 05:31:21 UTC 2025 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 1.25.0 (1.025)
|
||||||
|
see /usr/share/doc/packages/perl-Module-Extract-Namespaces/Changes
|
||||||
|
|
||||||
|
1.025 2025-01-26T20:44:58Z
|
||||||
|
* refresh distro
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 8 22:43:27 UTC 2024 - Tina Müller <tina.mueller@suse.com>
|
||||||
|
|
||||||
|
- Fix disabling of __perllib_provides
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 11 03:08:37 UTC 2024 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 1.024
|
||||||
|
see /usr/share/doc/packages/perl-Module-Extract-Namespaces/Changes
|
||||||
|
|
||||||
|
1.024 2024-02-10T21:36:24Z
|
||||||
|
* refresh distro, update email address, release under new PAUSE ID
|
||||||
|
BRIANDOY.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 22 03:06:23 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 1.023
|
||||||
|
see /usr/share/doc/packages/perl-Module-Extract-Namespaces/Changes
|
||||||
|
|
||||||
|
1.023 2022-01-21T10:19:11Z
|
||||||
|
* Fix truncated LICENSE file. No code changes.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 21 03:09:52 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 1.022
|
||||||
|
see /usr/share/doc/packages/perl-Module-Extract-Namespaces/Changes
|
||||||
|
|
||||||
|
1.022 2021-01-20T09:52:22Z
|
||||||
|
* freshen distro, dump Travis CI, add Appveyor, add Github Actions
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 10 14:12:02 UTC 2017 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 1.021
|
||||||
|
see /usr/share/doc/packages/perl-Module-Extract-Namespaces/Changes
|
||||||
|
- license changed to Artistic-2.0
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 14 19:24:52 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 1.02
|
||||||
|
see /usr/share/doc/packages/perl-Module-Extract-Namespaces/Changes
|
||||||
|
|
||||||
|
1.02 - Fri Jan 3 13:48:50 2014
|
||||||
|
* Get rid of MYMETA
|
||||||
|
|
||||||
|
1.01 - Tue May 7 19:19:26 2013
|
||||||
|
* Implement from_module so you can specify a namespace
|
||||||
|
instead of a filename
|
||||||
|
|
||||||
|
0.14_02 - Sat Apr 30 11:44:49 2011
|
||||||
|
* I forgot to add the lexer hint for ::Package for the
|
||||||
|
monkey patch. That patch is only there until PPI updates
|
||||||
|
for the patch.
|
||||||
|
|
||||||
|
0.14_01 - Fri Apr 29 08:01:08 2011
|
||||||
|
* Handle the Perl 5.12 package NAME VERSION BLOCK syntax,
|
||||||
|
even if you aren't using Perl 5.12. It's just PPI, so it's
|
||||||
|
not actually running code.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jan 22 19:38:38 UTC 2011 - coolo@novell.com
|
Sat Jan 22 19:38:38 UTC 2011 - coolo@novell.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Module-Extract-Namespaces (Version 0.14)
|
# spec file for package perl-Module-Extract-Namespaces
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,25 +12,32 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
Name: perl-Module-Extract-Namespaces
|
|
||||||
Version: 0.14
|
|
||||||
Release: 1
|
|
||||||
License: GPL+ or Artistic
|
|
||||||
%define cpan_name Module-Extract-Namespaces
|
%define cpan_name Module-Extract-Namespaces
|
||||||
Summary: extract the package declarations from a module
|
Name: perl-Module-Extract-Namespaces
|
||||||
Url: http://search.cpan.org/dist/Module-Extract-Namespaces/
|
Version: 1.26.0
|
||||||
Group: Development/Libraries/Perl
|
Release: 0
|
||||||
#Source: http://www.cpan.org/authors/id/B/BD/BDFOY/Module-Extract-Namespaces-%{version}.tar.gz
|
# 1.026 -> normalize -> 1.26.0
|
||||||
Source: %{cpan_name}-%{version}.tar.bz2
|
%define cpan_version 1.026
|
||||||
BuildRequires: perl(PPI)
|
License: Artistic-2.0
|
||||||
|
Summary: Extract the package declarations from a module
|
||||||
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
|
Source0: https://cpan.metacpan.org/authors/id/B/BR/BRIANDFOY/%{cpan_name}-%{cpan_version}.tar.gz
|
||||||
|
Source1: cpanspec.yml
|
||||||
|
Source100: README.md
|
||||||
|
BuildArch: noarch
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
Requires: perl(PPI)
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.64
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRequires: perl(PPI) >= 1.270
|
||||||
BuildArch: noarch
|
BuildRequires: perl(Test::More) >= 1
|
||||||
|
BuildRequires: perl(version) >= 0.86
|
||||||
|
Requires: perl(PPI) >= 1.270
|
||||||
|
Provides: perl(Module::Extract::Namespaces) = %{version}
|
||||||
|
%undefine __perllib_provides
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -43,98 +50,23 @@ It does not extract:
|
|||||||
|
|
||||||
* * packages created as part of a fully qualified variable name
|
* * packages created as part of a fully qualified variable name
|
||||||
|
|
||||||
Class methods
|
|
||||||
* from_module( MODULE )
|
|
||||||
|
|
||||||
****NOT YET IMPLEMENTED****
|
|
||||||
|
|
||||||
Extract the namespaces declared in MODULE. In list context, it
|
|
||||||
returns all of the namespaces, including possible duplicates. In
|
|
||||||
scalar context it returns the first declared namespace.
|
|
||||||
|
|
||||||
If it cannot find MODULE in @INC, it returns undef in scalar context
|
|
||||||
and the empty list in list context.
|
|
||||||
|
|
||||||
On failure it returns nothing, but you have to check with 'error' to
|
|
||||||
see if that is really an error or a file with no namespaces in it.
|
|
||||||
|
|
||||||
* from_file( FILENAME )
|
|
||||||
|
|
||||||
Extract the namespaces declared in FILENAME. In list context, it
|
|
||||||
returns all of the namespaces, including possible duplicates. In
|
|
||||||
scalar context it returns the first declared namespace.
|
|
||||||
|
|
||||||
If FILENAME does not exist, it returns undef in scalar context and
|
|
||||||
the empty list in list context.
|
|
||||||
|
|
||||||
On failure it returns nothing, but you have to check with 'error' to
|
|
||||||
see if that is really an error or a file with no namespaces in it.
|
|
||||||
|
|
||||||
Subclassable hooks
|
|
||||||
* $class->pdom_base_class()
|
|
||||||
|
|
||||||
Return the base class for the PDOM. This is 'PPI' by default. If you
|
|
||||||
want to use something else, you'll have to change all the other PDOM
|
|
||||||
methods to adapt to the different interface.
|
|
||||||
|
|
||||||
This is the class name to use with 'require' to load the module that
|
|
||||||
while handle the parsing.
|
|
||||||
|
|
||||||
* $class->pdom_document_class()
|
|
||||||
|
|
||||||
Return the class name to use to create the PDOM object. This is
|
|
||||||
'PPI::Document'.
|
|
||||||
|
|
||||||
* get_pdom( FILENAME )
|
|
||||||
|
|
||||||
Creates the PDOM from FILENAME. This depends on calls to
|
|
||||||
'pdom_base_class' and 'pdom_document_class'.
|
|
||||||
|
|
||||||
* $class->pdom_preprocess( PDOM )
|
|
||||||
|
|
||||||
Override this method to play with the PDOM before extracting the
|
|
||||||
package declarations.
|
|
||||||
|
|
||||||
By default, it strips Pod and comments from the PDOM.
|
|
||||||
|
|
||||||
* $class->pdom_strip_pod( PDOM )
|
|
||||||
|
|
||||||
Strips Pod documentation from the PDOM.
|
|
||||||
|
|
||||||
* $class->pdom_strip_comments( PDOM )
|
|
||||||
|
|
||||||
Strips comments from the PDOM.
|
|
||||||
|
|
||||||
* $class->get_namespaces_from_pdom( PDOM )
|
|
||||||
|
|
||||||
Extract the namespaces from the PDOM. It returns a list of package
|
|
||||||
names in the order that it finds them in the PDOM. It does not remove
|
|
||||||
duplicates (do that later if you like).
|
|
||||||
|
|
||||||
* $class->error
|
|
||||||
|
|
||||||
Return the error from the last call to 'get_modules'.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
%{__make} %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
|
||||||
%{__rm} -rf %{buildroot}
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(644,root,root,755)
|
%doc Changes examples SECURITY.md
|
||||||
%doc Changes LICENSE README
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user