forked from pool/perl-Dancer2
WIP: Automatic update to v2.0.0 (2.0.0) #1
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c1177fdc7f324430df41d9742f382069619f7a46687ebebb02c7cf98371951cf
|
||||
size 404292
|
BIN
Dancer2-2.0.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
Dancer2-2.0.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,44 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 6 17:18:13 UTC 2025 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 2.0.0
|
||||
see /usr/share/doc/packages/perl-Dancer2/Changes
|
||||
|
||||
2.0.0 2025-09-15 17:49:26-04:00 America/New_York
|
||||
[ BUG FIXES ]
|
||||
* GH #1701: Split cookie values on & only (Yanick Champoux)
|
||||
[ ENHANCEMENTS ]
|
||||
* GH #530: Make data censoring configurable (Yanick Champoux, David
|
||||
Precious)
|
||||
* GH #850: Scaffold tutorial app; allow multiple apps to be scaffolded
|
||||
in core Dancer2 (Jason A. Crome)
|
||||
* GH #1512: Log hook entries as they are executed (Yanick Champoux)
|
||||
* GH #1615: Remove Dancer2::Template::Simple from Dancer2 core (Jason
|
||||
A. Crome)
|
||||
* PR #1637: New, extendable configuration system (Mikko Koivunalho)
|
||||
* GH #1723: Enable use of a different Template Toolkit base class
|
||||
(Andy Beverley)
|
||||
* PR #1727: Don't create CPAN package files when generating new apps
|
||||
(Jason A. Crome)
|
||||
* PR #1731: Retire Template::Tiny fork, use CPAN's (Jason A. Crome,
|
||||
Karen Etheridge, Damien Krotkine, Yanick Champoux)
|
||||
* PR #1736: Allow config system to bootstrap itself (Yanick Champoux)
|
||||
* GH #1737: Add on_hook_exception for errors during hook processing
|
||||
(Andy Beverley)
|
||||
* PR #1739: Add source to on_hook_exception (Andy Beverley)
|
||||
* PR #1742: Refactor CLI for future expansion (Jason A. Crome)
|
||||
[ DOCUMENTATION ]
|
||||
* GH #1342: Document skipping private methods in pod coverage tests
|
||||
(Jason A. Crome)
|
||||
* PR #1721: New Dancer2 docs, reorganization of all documentation;
|
||||
from TPRF grant (Jason A. Crome)
|
||||
* PR #1741: Cover items missed in earlier documentation branch (Jason
|
||||
A. Crome)
|
||||
[ DEPRECATED ]
|
||||
* None
|
||||
[ MISC ]
|
||||
* None
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 12 16:14:47 UTC 2024 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Dancer2
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%define cpan_name Dancer2
|
||||
Name: perl-Dancer2
|
||||
Version: 1.1.2
|
||||
Version: 2.0.0
|
||||
Release: 0
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Lightweight yet powerful web application framework
|
||||
@@ -31,18 +31,19 @@ BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(CLI::Osprey)
|
||||
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.121
|
||||
BuildRequires: perl(Capture::Tiny) >= 0.12
|
||||
BuildRequires: perl(Capture::Tiny) >= 0.120
|
||||
BuildRequires: perl(Clone)
|
||||
BuildRequires: perl(Config::Any)
|
||||
BuildRequires: perl(Data::Censor) >= 0.40
|
||||
BuildRequires: perl(Digest::SHA)
|
||||
BuildRequires: perl(Exporter::Tiny)
|
||||
BuildRequires: perl(File::Share)
|
||||
BuildRequires: perl(File::ShareDir::Install) >= 0.06
|
||||
BuildRequires: perl(File::ShareDir::Install) >= 0.60
|
||||
BuildRequires: perl(File::Which)
|
||||
BuildRequires: perl(HTTP::Cookies)
|
||||
BuildRequires: perl(HTTP::Date)
|
||||
BuildRequires: perl(HTTP::Headers)
|
||||
BuildRequires: perl(HTTP::Headers::Fast) >= 0.21
|
||||
BuildRequires: perl(HTTP::Headers::Fast) >= 0.210
|
||||
BuildRequires: perl(HTTP::Tiny)
|
||||
BuildRequires: perl(Hash::Merge::Simple)
|
||||
BuildRequires: perl(Hash::MultiValue)
|
||||
@@ -53,36 +54,39 @@ BuildRequires: perl(MIME::Base64) >= 3.13
|
||||
BuildRequires: perl(Module::Metadata)
|
||||
BuildRequires: perl(Module::Pluggable)
|
||||
BuildRequires: perl(Module::Runtime)
|
||||
BuildRequires: perl(Moo) >= 2.000000
|
||||
BuildRequires: perl(Moo) >= 2.0
|
||||
BuildRequires: perl(Moo::Role)
|
||||
BuildRequires: perl(Path::Tiny)
|
||||
BuildRequires: perl(Plack) >= 1.0040
|
||||
BuildRequires: perl(Plack) >= 1.4
|
||||
BuildRequires: perl(Plack::Middleware::FixMissingBodyInRedirect)
|
||||
BuildRequires: perl(Plack::Middleware::RemoveRedundantBody)
|
||||
BuildRequires: perl(Pod::Simple::SimpleTree)
|
||||
BuildRequires: perl(Ref::Util)
|
||||
BuildRequires: perl(parent)
|
||||
#BuildRequires: perl(Role::Tiny) >= 2.000000
|
||||
#BuildRequires: perl(Role::Tiny) >= 2.0
|
||||
BuildRequires: perl(Safe::Isa)
|
||||
BuildRequires: perl(Sub::Quote)
|
||||
BuildRequires: perl(Sub::Util)
|
||||
BuildRequires: perl(Template)
|
||||
BuildRequires: perl(Template::Tiny)
|
||||
BuildRequires: perl(Template::Tiny) >= 1.160
|
||||
BuildRequires: perl(Test::EOL)
|
||||
BuildRequires: perl(Test::Exception)
|
||||
BuildRequires: perl(Test::Fatal)
|
||||
BuildRequires: perl(Test::More) >= 0.92
|
||||
BuildRequires: perl(Type::Tiny) >= 1.000006
|
||||
BuildRequires: perl(Type::Tiny) >= 1.0.6
|
||||
BuildRequires: perl(Types::Standard)
|
||||
BuildRequires: perl(URI::Escape)
|
||||
BuildRequires: perl(YAML) >= 0.86
|
||||
BuildRequires: perl(YAML) >= 0.860
|
||||
Requires: perl(CLI::Osprey)
|
||||
Requires: perl(Clone)
|
||||
Requires: perl(Config::Any)
|
||||
Requires: perl(Data::Censor) >= 0.40
|
||||
Requires: perl(Digest::SHA)
|
||||
Requires: perl(Exporter::Tiny)
|
||||
Requires: perl(File::Share)
|
||||
Requires: perl(File::Which)
|
||||
Requires: perl(HTTP::Date)
|
||||
Requires: perl(HTTP::Headers::Fast) >= 0.21
|
||||
Requires: perl(HTTP::Headers::Fast) >= 0.210
|
||||
Requires: perl(HTTP::Tiny)
|
||||
Requires: perl(Hash::Merge::Simple)
|
||||
Requires: perl(Hash::MultiValue)
|
||||
@@ -92,10 +96,10 @@ Requires: perl(List::Util) >= 1.29
|
||||
Requires: perl(MIME::Base64) >= 3.13
|
||||
Requires: perl(Module::Pluggable)
|
||||
Requires: perl(Module::Runtime)
|
||||
Requires: perl(Moo) >= 2.000000
|
||||
Requires: perl(Moo) >= 2.0
|
||||
Requires: perl(Moo::Role)
|
||||
Requires: perl(Path::Tiny)
|
||||
Requires: perl(Plack) >= 1.0040
|
||||
Requires: perl(Plack) >= 1.4
|
||||
Requires: perl(Plack::Middleware::FixMissingBodyInRedirect)
|
||||
Requires: perl(Plack::Middleware::RemoveRedundantBody)
|
||||
Requires: perl(Ref::Util)
|
||||
@@ -103,13 +107,14 @@ Requires: perl(parent)
|
||||
#Requires: perl(Role::Tiny) >= 2.000000
|
||||
Requires: perl(Safe::Isa)
|
||||
Requires: perl(Sub::Quote)
|
||||
Requires: perl(Sub::Util)
|
||||
Requires: perl(Template)
|
||||
Requires: perl(Template::Tiny)
|
||||
Requires: perl(Template::Tiny) >= 1.160
|
||||
Requires: perl(Test::More) >= 0.92
|
||||
Requires: perl(Type::Tiny) >= 1.000006
|
||||
Requires: perl(Type::Tiny) >= 1.0.6
|
||||
Requires: perl(Types::Standard)
|
||||
Requires: perl(URI::Escape)
|
||||
Requires: perl(YAML) >= 0.86
|
||||
Requires: perl(YAML) >= 0.860
|
||||
Recommends: perl(CGI::Deurl::XS)
|
||||
Recommends: perl(Class::XSAccessor)
|
||||
Recommends: perl(Cpanel::JSON::XS)
|
||||
@@ -127,24 +132,33 @@ Recommends: perl(YAML::XS)
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Dancer2 is the new generation of Dancer, the lightweight web-framework for
|
||||
Dancer2 is the new generation of Dancer, the lightweight web framework for
|
||||
Perl. Dancer2 is a complete rewrite based on Moo.
|
||||
|
||||
Dancer2 can optionally use XS modules for speed, but at its core remains
|
||||
fatpackable (packable by App::FatPacker) so you could easily deploy Dancer2
|
||||
fatpackable (via App::FatPacker), enabling you to easily deploy Dancer2
|
||||
applications on hosts that do not support custom CPAN modules.
|
||||
|
||||
Dancer2 is easy and fun:
|
||||
Creating web applications with Dancer2 is easy and fun:
|
||||
|
||||
#!/usr/bin/env perl
|
||||
|
||||
package HelloWorld;
|
||||
use Dancer2;
|
||||
get '/' => sub { "Hello World" };
|
||||
dance;
|
||||
|
||||
get '/' => sub {
|
||||
return "Hello, world!";
|
||||
};
|
||||
|
||||
true;
|
||||
|
||||
HelloWorld->to_app;
|
||||
|
||||
This is the main module for the Dancer2 distribution. It contains logic for
|
||||
creating a new Dancer2 application.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{cpan_name}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{version} -p1
|
||||
|
||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||
|
||||
|
Reference in New Issue
Block a user