[perl-MetaCPAN-Client] Initial import (perl-MetaCPAN-Client-1.002000-2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit ca2a08675199f4e387ceeedb09d5f118ec4a268a
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Mon Apr 28 14:29:40 2014 +0100

    Initial import (perl-MetaCPAN-Client-1.002000-2)
    
    This is a hopefully-complete API-compliant interface to MetaCPAN
    (https://metacpan.org/) with DWIM capabilities, to make your life easier.

 .gitignore                |    1 +
 perl-MetaCPAN-Client.spec |  108 +++++++++++++++++++++++++++++++++++++++++++++
 sources                   |    1 +
 3 files changed, 110 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..340523b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/MetaCPAN-Client-[0-9.]*.tar.gz
diff --git a/perl-MetaCPAN-Client.spec b/perl-MetaCPAN-Client.spec
new file mode 100644
index 0000000..f9698b8
--- /dev/null
+++ b/perl-MetaCPAN-Client.spec
@@ -0,0 +1,108 @@
+%bcond_with network_tests
+
+Name:		perl-MetaCPAN-Client
+Version:	1.002000
+Release:	2%{?dist}
+Summary:	A comprehensive, DWIM-featured client to the MetaCPAN API
+Group:		Development/Libraries
+License:	GPL+ or Artistic
+URL:		https://github.com/CPAN-API/metacpan-client
+Source0:	http://cpan.metacpan.org/authors/id/M/MI/MICKEY/MetaCPAN-Client-%{version}.tar.gz
+BuildArch:	noarch
+# Build
+BuildRequires:	perl
+BuildRequires:	perl(ExtUtils::MakeMaker) >= 6.30
+# Module
+BuildRequires:	perl(Carp)
+BuildRequires:	perl(Search::Elasticsearch) >= 1.10
+BuildRequires:	perl(Search::Elasticsearch::Scroll)
+BuildRequires:	perl(HTTP::Tiny)
+BuildRequires:	perl(JSON)
+BuildRequires:	perl(Moo)
+BuildRequires:	perl(Moo::Role)
+BuildRequires:	perl(strict)
+BuildRequires:	perl(Try::Tiny)
+BuildRequires:	perl(warnings)
+# Test suite
+BuildRequires:	perl(File::Spec)
+BuildRequires:	perl(IO::Handle)
+BuildRequires:	perl(IPC::Open3)
+BuildRequires:	perl(Test::Fatal)
+BuildRequires:	perl(Test::More) >= 0.88
+# Author/Release tests
+BuildRequires:	perl(English)
+BuildRequires:	perl(Pod::Coverage::TrustPod)
+BuildRequires:	perl(Test::Perl::Critic)
+BuildRequires:	perl(Test::Pod) >= 1.41
+BuildRequires:	perl(Test::Pod::Coverage) >= 1.08
+# Runtime
+Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+%description
+This is a hopefully-complete API-compliant interface to MetaCPAN
+(https://metacpan.org/) with DWIM capabilities, to make your life easier.
+
+%prep
+%setup -q -n MetaCPAN-Client-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+%{_fixperms} %{buildroot}
+
+%check
+%if !%{with network_tests}
+mv t/api/[a-z]*.t ./
+%endif
+
+make test AUTHOR_TESTING=1 RELEASE_TESTING=1
+
+%if !%{with network_tests}
+mv ./[a-z]*.t t/api/
+%endif
+
+%files
+%doc Changes LICENSE README
+%{perl_vendorlib}/MetaCPAN/
+%{_mandir}/man3/MetaCPAN::Client.3*
+%{_mandir}/man3/MetaCPAN::Client::Author.3*
+%{_mandir}/man3/MetaCPAN::Client::Distribution.3*
+%{_mandir}/man3/MetaCPAN::Client::Favorite.3*
+%{_mandir}/man3/MetaCPAN::Client::File.3*
+%{_mandir}/man3/MetaCPAN::Client::Module.3*
+%{_mandir}/man3/MetaCPAN::Client::Rating.3*
+%{_mandir}/man3/MetaCPAN::Client::Release.3*
+%{_mandir}/man3/MetaCPAN::Client::Request.3*
+%{_mandir}/man3/MetaCPAN::Client::ResultSet.3*
+%{_mandir}/man3/MetaCPAN::Client::Role::Entity.3*
+
+%changelog
+* Fri Apr 25 2014 Paul Howarth <paul@xxxxxxxxxxxx> - 1.002000-2
+- Sanitize for Fedora submission
+
+* Thu Apr 24 2014 Paul Howarth <paul@xxxxxxxxxxxx> - 1.002000-1
+- Update to 1.002000
+  - Add 'not' support for complex queries
+  - Add reverse_dependencies method
+
+* Wed Apr 16 2014 Paul Howarth <paul@xxxxxxxxxxxx> - 1.001001-1
+- Update to 1.001001
+  - Fix the reading of scroller result when 'fields' param is passed
+
+* Thu Apr 10 2014 Paul Howarth <paul@xxxxxxxxxxxx> - 1.001000-1
+- Update to 1.001000
+  - Add support for nested either/all queries
+  - Add tests for complex queries (two levels deep)
+  - Correct documentation on complex queries
+  - Update tests to work on older versions of perl
+
+* Thu Apr  3 2014 Paul Howarth <paul@xxxxxxxxxxxx> - 1.000001-1
+- Update to 1.000001
+  - Changed Elasticsearch (deprecated) to Search::Elasticsearch (official)
+  
+* Wed Apr  2 2014 Paul Howarth <paul@xxxxxxxxxxxx> - 1.000000-1
+- Initial RPM version
diff --git a/sources b/sources
index e69de29..46aeddb 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f77b62d0cc4ee3d47aa3013be9af8ffa  MetaCPAN-Client-1.002000.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux