public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH 1/2] perl-Canary-Stability: New package
@ 2023-02-16 16:21 Stefan Schantl
  2023-02-16 16:21 ` [PATCH 2/2] perl-Coro: Update to 6.57 Stefan Schantl
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Schantl @ 2023-02-16 16:21 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1914 bytes --]

Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
 .../perl-Canary-Stability.nm                  | 54 +++++++++++++++++++
 1 file changed, 54 insertions(+)
 create mode 100644 perl-Canary-Stability/perl-Canary-Stability.nm

diff --git a/perl-Canary-Stability/perl-Canary-Stability.nm b/perl-Canary-Stability/perl-Canary-Stability.nm
new file mode 100644
index 000000000..0b3775cf9
--- /dev/null
+++ b/perl-Canary-Stability/perl-Canary-Stability.nm
@@ -0,0 +1,54 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info(a)ipfire.org>                   #
+###############################################################################
+
+name       = perl-Canary-Stability
+version    = 2013
+release    = 1
+thisapp    = Canary-Stability-%{version}
+
+groups     = Development/Libraries
+url        = https://search.cpan.org/dist/Canary::Stability/
+license    = GPL+ or Artistic
+summary    = Canary to check perl compatibility for schmorp's modules.
+
+description
+	This module is used by Schmorp's modules during configuration stage to test
+	the installed perl for compatibility with his modules.
+end
+
+source_dl  = https://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/
+
+build
+	requires
+		perl(ExtUtils::MakeMaker)
+		perl(ExtUtils::ParseXS)
+		libdb-devel
+		pakfire >= 0.9.26-3.1
+	end
+
+	build
+		perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}"
+		make %{PARALLELISMFLAGS}
+	end
+
+	test
+		make test
+	end
+
+	make_install_targets = \
+		pure_install DESTDIR=%{BUILDROOT}
+end
+
+packages
+	package %{name}
+		requires
+			perl(:MODULE_COMPAT_%{perl_version})
+		end
+	end
+
+	package %{name}-debuginfo
+		template DEBUGINFO
+	end
+end
-- 
2.30.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 2/2] perl-Coro: Update to 6.57
  2023-02-16 16:21 [PATCH 1/2] perl-Canary-Stability: New package Stefan Schantl
@ 2023-02-16 16:21 ` Stefan Schantl
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Schantl @ 2023-02-16 16:21 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1720 bytes --]

Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
 perl-Coro/perl-Coro.nm | 23 +++++++++--------------
 1 file changed, 9 insertions(+), 14 deletions(-)

diff --git a/perl-Coro/perl-Coro.nm b/perl-Coro/perl-Coro.nm
index 5f25160ab..7a87e13d1 100644
--- a/perl-Coro/perl-Coro.nm
+++ b/perl-Coro/perl-Coro.nm
@@ -4,12 +4,12 @@
 ###############################################################################
 
 name       = perl-Coro
-version    = 6.42
-release    = 1.1
+version    = 6.57
+release    = 1
 thisapp    = Coro-%{version}
 
 groups     = Development/Libraries
-url        = http://search.cpan.org/dist/Coro/
+url        = https://search.cpan.org/dist/Coro/
 license    = GPL+ or Artistic
 summary    = The only real threads in perl.
 
@@ -20,13 +20,13 @@ description
 	in parallel at the same time even on SMP machines
 end
 
-source_dl  = http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/
+source_dl  = https://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/
 
 build
 	requires
+		perl(Canary::Stability)
 		perl(ExtUtils::MakeMaker)
 		perl(ExtUtils::ParseXS)
-		pakfire >= 0.9.26-3.1
 	end
 
 	prepare_cmds
@@ -37,7 +37,9 @@ build
 	end
 
 	build
-		perl Makefile.PL INSTALLDIRS=perl OPTIMIZE="%{CFLAGS}"
+		perl Makefile.PL INSTALLDIRS=perl NO_PACKLIST=1 NO_PERLLOCAL=1 \
+			OPTIMIZE="%{CFLAGS}" </dev/null
+
 		make %{PARALLELISMFLAGS}
 	end
 
@@ -47,14 +49,7 @@ end
 
 packages
 	package %{name}
-		filter_requires
-			AnyEvent
-			EV
-			Event
-			Guard
-			Storable
-			Coro
-		end
+		filter_requires = (AnyEvent|EV|Event|Guard|Storable|Coro)
 
 		requires
 			perl(:MODULE_COMPAT_%{perl_version})
-- 
2.30.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-16 16:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-16 16:21 [PATCH 1/2] perl-Canary-Stability: New package Stefan Schantl
2023-02-16 16:21 ` [PATCH 2/2] perl-Coro: Update to 6.57 Stefan Schantl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox