Compare commits
10 Commits
d80e9d9dab
...
d3d51d2f38
Author | SHA256 | Date | |
---|---|---|---|
d3d51d2f38 | |||
e2b84be58d | |||
ed93599b84 | |||
2b4dde3111 | |||
7659d820ec | |||
|
d5b4144fb2 | ||
|
0219e8c970 | ||
|
5b8a61de23 | ||
|
7e84413755 | ||
|
17c509858b |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b6e8202980a602e17284c4c7ecaed316bbbe9aa81615be318c5f5e8e14a182e3
|
||||
size 18647
|
3
Module-ExtractUse-0.345.tar.gz
Normal file
3
Module-ExtractUse-0.345.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8ee24e8742ab9da79228be187dda319b4d5f50a91a1ecf87d494213b5bb30dd1
|
||||
size 48264
|
21
cpanspec.yml
Normal file
21
cpanspec.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#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_install: |-
|
||||
: > _build/runtime_params
|
||||
#license: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: -
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
||||
#ignore_requires: Bizarre::Module
|
@@ -1,3 +1,137 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 17 03:09:30 UTC 2023 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 0.345
|
||||
see /usr/share/doc/packages/perl-Module-ExtractUse/Changes
|
||||
|
||||
|
||||
0.345 2023-01-16T17:12:05
|
||||
- Auto generate meta_yml_has_provides experimental Kwalitee. (Mohammad S Anwar)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 7 03:06:23 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 0.344
|
||||
see /usr/share/doc/packages/perl-Module-ExtractUse/Changes
|
||||
|
||||
0.344 2021-09-06T13:31:26
|
||||
- Fixed some spelling errors in the Pod. (Håkon Hægland)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 8 06:36:47 UTC 2018 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
- updated to 0.343
|
||||
see /usr/share/doc/packages/perl-Module-ExtractUse/Changes
|
||||
|
||||
0.343 2018-10-18T15:19:05
|
||||
- Mention Perl::PrereqScanner modules family (perlancar)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 23 06:45:40 UTC 2018 - coolo@suse.com
|
||||
|
||||
- updated to 0.342
|
||||
see /usr/share/doc/packages/perl-Module-ExtractUse/Changes
|
||||
|
||||
0.342 2018-01-22T16:02:20
|
||||
- Escape left (and right) braces to silence deprecation warnings (RT-124146) (Kenichi Ishigaki)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 7 10:16:58 UTC 2016 - coolo@suse.com
|
||||
|
||||
- updated to 0.341
|
||||
see /usr/share/doc/packages/perl-Module-ExtractUse/Changes
|
||||
|
||||
0.341 2016-01-30T22:18:20
|
||||
- fixed 20_parse_self.t; version.pm is not used anymore (Kenichi Ishigaki)
|
||||
|
||||
|
||||
0.340 2016-01-30T20:42:39
|
||||
- load_first_existing_class() is now working (Anthony Brummett)
|
||||
- Class::Load::load_class(), try_load_class() and load_optional_class() are working (Anthony Brummett)
|
||||
- Detect uses of Module::Runtime (Anthony Brummett)
|
||||
- include extractuse as provided by Jonathan Yu in example/ (Anthony Brummett)
|
||||
- Linkify POD modules, mention Module::Extract::Use to resolve RT#45571. (Jeremy Mates)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 23 05:03:28 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 0.33
|
||||
see /usr/share/doc/packages/perl-Module-ExtractUse/Changes
|
||||
|
||||
0.33 2014-04-11T21:04:52+0200
|
||||
- added base() handling to no (Thomas Klausner)
|
||||
- support 'no MODULE' etc (for RT-94305) (Kenichi Ishigaki)
|
||||
- typo fix (David Steinbrunner)
|
||||
- ignore __DATA|END__ sections (see https://rt.cpan.org/Ticket/Display.html?id=88969 ) (Kenichi Ishigaki)
|
||||
- ignore use/require method calls (Kenichi Ishigaki)
|
||||
|
||||
|
||||
0.32 2013-09-04T16:48:07+0200
|
||||
- not to include cached results (Kenichi Ishigaki)
|
||||
- Fix handling module beginning with v and pragma with version.
|
||||
(Yasutaka ATARASHI)
|
||||
- Recognize "use parent". (Yasutaka ATARASHI)
|
||||
|
||||
|
||||
0.31 2013-05-31T10:21:06+0200
|
||||
- applied a patch from cjm with slight modification to resolve RT#50723
|
||||
(support use Foo::Bar (); etc) (Kenichi Ishigaki)
|
||||
- fixed RT#71761 (Kenichi Ishigaki)
|
||||
- applied a patch from wyant (RT#71761) (Kenichi Ishigaki)
|
||||
- fixed the Pod::Simple encoding issue (Kenichi Ishigaki)
|
||||
- Fix incorrect regexp (ref gh-5). (Yasutaka ATARASHI)
|
||||
- Avoid regex features introduced only in later perl (close gh-5).
|
||||
(Yasutaka ATARASHI)
|
||||
- Use plan() instead of done_testing() (ref gh-5). (Yasutaka ATARASHI)
|
||||
- Add support for bareword leading hyphyen, in-place arrayref and hashref.
|
||||
(Yasutaka ATARASHI)
|
||||
- proper version number for older releases (Brian Cassidy)
|
||||
|
||||
|
||||
0.30 2013-04-18T08:57:49+0200
|
||||
- Add accessors and tests for _in_eval/_out_of_eval. (Yasutaka ATARASHI)
|
||||
- reworked 80_failig.t to TODO tests; (Thomas Klausner)
|
||||
- added more require-in-string corner test cases (suggested by Buddy Burden)
|
||||
(Thomas Klausner)
|
||||
- Fix the case for eval["']expr["'] and add regression tests.
|
||||
(Yasutaka ATARASHI)
|
||||
|
||||
0.29 2013-02-25T20:25:44+0100
|
||||
- fixed regex to filter use/require (RT83569) (reported by
|
||||
ribasushi)
|
||||
|
||||
|
||||
0.28 2012-08-21T14:41:15+0200
|
||||
- whitespace in use base is valid (Barbie)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 31 13:21:58 UTC 2012 - coolo@suse.com
|
||||
|
||||
- updated to 0.27
|
||||
- fixed 23_universal_require.t for real (RT75342) (reported by
|
||||
Manoj Kumar and Paul Howarth)
|
||||
|
||||
- removed Test::NoWarning from a t/23_universal_require.t because
|
||||
it upsets the (manual) plan if the tests are skipped
|
||||
|
||||
- autogenerate the grammer during ./Build (based on a patch by
|
||||
jtbraun@CPAN.org) (RT74879)
|
||||
- added $VERSION to into Module::ExtractUse::Grammar, suggested
|
||||
by Manoj Kumar (RT75342)
|
||||
- specify min verion of Parse::RecDescent (1.967009),
|
||||
suggested by ANDK@cpan.org (RT75130)
|
||||
- fix typos reported by gregor herrmann (RT75115)
|
||||
- switched to Dist::Zilla (all on my own!)
|
||||
|
||||
- regenerated Grammer to work with new Parse::RecDescent
|
||||
(thanks to cpan-testers, TMUELLER, KENTNL, dirkus@yo****.com and
|
||||
paul@city****.org for reporting the problem)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 1 11:57:27 UTC 2010 - coolo@novell.com
|
||||
|
||||
- switch to perl_requires macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 26 13:10:51 UTC 2010 - pascal.bleser@opensuse.org
|
||||
|
||||
|
@@ -1,58 +1,74 @@
|
||||
# vim: set sw=4 ts=4 et nu:
|
||||
# norootforbuild
|
||||
#
|
||||
# spec file for package perl-Module-ExtractUse
|
||||
#
|
||||
# Copyright (c) 2024 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 Module-ExtractUse
|
||||
Name: perl-Module-ExtractUse
|
||||
Version: 0.23
|
||||
Version: 0.345.0
|
||||
Release: 0
|
||||
# 0.345 -> normalize -> 0.345.0
|
||||
%define cpan_version 0.345
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Find out what modules are used
|
||||
Source: http://search.cpan.org/CPAN/authors/id/D/DO/DOMM/Module-ExtractUse-%{version}.tar.gz
|
||||
URL: http://search.cpan.org/dist/Module-ExtractUse
|
||||
Group: Development/Libraries/Perl
|
||||
License: Perl License
|
||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||
Requires: perl = %{perl_version}
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/D/DO/DOMM/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Test::Pod::Coverage)
|
||||
BuildRequires: perl(UNIVERSAL::require)
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Module::Build) >= 0.28
|
||||
BuildRequires: perl(Parse::RecDescent) >= 1.967009
|
||||
BuildRequires: perl(Pod::Strip)
|
||||
BuildRequires: perl(Test::Deep)
|
||||
BuildRequires: perl(Test::NoWarnings)
|
||||
BuildRequires: perl(Test::Deep) >= 0.087
|
||||
BuildRequires: perl(Test::Pod)
|
||||
BuildRequires: perl(Module::Build)
|
||||
BuildRequires: perl(Pod::Strip) >= 1.00
|
||||
BuildRequires: perl(Parse::RecDescent) >= 1.94
|
||||
Requires: perl(Pod::Strip) >= 1.00
|
||||
Requires: perl(Parse::RecDescent) >= 1.94
|
||||
Requires: perl(Parse::RecDescent) >= 1.967009
|
||||
Requires: perl(Pod::Strip)
|
||||
Provides: perl(Module::ExtractUse) = %{version}
|
||||
Provides: perl(Module::ExtractUse::Grammar) = %{version}
|
||||
Provides: perl(Parse::RecDescent::Module::ExtractUse::Grammar) = %{version}
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Module::ExtractUse is basically a Parse::RecDescent grammar to parse Perl code.
|
||||
It tries very hard to find all modules (whether pragmas, Core, or from CPAN)
|
||||
used by the parsed code.
|
||||
'Module::ExtractUse' is basically a Parse::RecDescent grammar to parse Perl
|
||||
code. It tries very hard to find all modules (whether pragmas, Core, or
|
||||
from CPAN) used by the parsed code.
|
||||
|
||||
"Usage" is defined by either calling 'use' or 'require'.
|
||||
|
||||
%prep
|
||||
%setup -q -n "Module-ExtractUse-%{version}"
|
||||
%autosetup -n %{cpan_name}-%{cpan_version}
|
||||
|
||||
%build
|
||||
%__perl ./Build.PL
|
||||
./Build
|
||||
|
||||
%install
|
||||
./Build pure_install --destdir "%{buildroot}" --installdirs vendor
|
||||
%perl_process_packlist
|
||||
perl Build.PL --installdirs=vendor
|
||||
./Build build --flags=%{?_smp_mflags}
|
||||
|
||||
%check
|
||||
./Build test
|
||||
|
||||
%clean
|
||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||
%install
|
||||
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||
# MANUAL BEGIN
|
||||
: > _build/runtime_params
|
||||
# MANUAL END
|
||||
%perl_gen_filelist
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc Changes README TODO
|
||||
%dir %{perl_vendorlib}/Module
|
||||
%{perl_vendorlib}/Module/ExtractUse.pm
|
||||
%{perl_vendorlib}/Module/ExtractUse
|
||||
%dir %{perl_vendorarch}/auto/Module
|
||||
%{perl_vendorarch}/auto/Module/ExtractUse
|
||||
%doc %{perl_man3dir}/Module::ExtractUse.%{perl_man3ext}%{ext_man}
|
||||
%files -f %{name}.files
|
||||
%doc Changes example grammar README
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user