* [PR PATCH] New package: fpm-0.6.0
@ 2022-09-25 23:37 SRAZKVT
2022-12-25 1:58 ` github-actions
2023-01-08 2:01 ` [PR PATCH] [Closed]: " github-actions
0 siblings, 2 replies; 3+ messages in thread
From: SRAZKVT @ 2022-09-25 23:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1201 bytes --]
There is a new pull request by SRAZKVT against master on the void-packages repository
https://github.com/SRAZKVT/void-packages master
https://github.com/void-linux/void-packages/pull/39468
New package: fpm-0.6.0
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- x86_64-musl
- i686-glibc
A patch file from https://github.com/void-linux/void-packages/pull/39468.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-39468.patch --]
[-- Type: text/x-diff, Size: 2665 bytes --]
From a4cb9cf1b87ae2adc55a4ca7ae3be13d2ceada37 Mon Sep 17 00:00:00 2001
From: SRAZKVT <sarah.mathey66666@gmail.com>
Date: Mon, 26 Sep 2022 01:19:40 +0200
Subject: [PATCH 1/2] New package: fpm-0.6.0
---
srcpkgs/fpm/template | 46 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
create mode 100644 srcpkgs/fpm/template
diff --git a/srcpkgs/fpm/template b/srcpkgs/fpm/template
new file mode 100644
index 000000000000..b6e1daa44db7
--- /dev/null
+++ b/srcpkgs/fpm/template
@@ -0,0 +1,46 @@
+# Template file for 'fpm'
+pkgname=fpm
+version=0.6.0
+revision=1
+create_wrksrc=yes
+#archs="x86_64* i686*"
+hostmakedepends="gcc-fortran git"
+depends="gcc-fortran git"
+short_desc="Fortran Package Manager"
+maintainer="SRAZKVT <sarah.mathey66666@gmail.com>"
+license="MIT"
+homepage="https://fpm.fortran-lang.org"
+distfiles="https://github.com/fortran-lang/fpm/releases/download/v${version}/fpm-${version}.zip
+ https://github.com/fortran-lang/fpm/releases/download/v${version}/fpm-${version}.F90
+ https://raw.githubusercontent.com/fortran-lang/fpm/main/LICENSE"
+checksum="365516f66b116a112746af043e8eccb3d854d6feb1fad0507c570433dacbf7be
+ 17a809d512618ddb083b1d8c546a2d98e704b10484f607df7b0b231ddc8ff277
+ b7e33601c0130d1a674fcc772ed9b7804460d1896469a5b219ba4062efcd9fb9"
+skip_extraction="fpm-${version}.F90 LICENSE"
+
+do_build() {
+ local bootstrap_dir="${wrksrc}/_bootstrap"
+ local srcdir="$XBPS_SRCDISTDIR/$pkgname-$version"
+
+ mkdir -p ${bootstrap_dir}
+ cp ${srcdir}/fpm-${version}.F90 ${bootstrap_dir}/fpm.F90
+ cp ${srcdir}/LICENSE ${wrksrc}/LICENSE
+
+ gfortran -J ${bootstrap_dir} ${bootstrap_dir}/fpm.F90 -o ${bootstrap_dir}/fpm
+
+ cd ${wrksrc}/fpm-${version}
+ ${bootstrap_dir}/fpm install --flag "-g -fbacktrace -O3" --prefix "${wrksrc}"
+ cd ${wrksrc}
+ rm -r ${bootstrap_dir}
+}
+
+do_check() {
+ cd ${wrksrc}/fpm-${version}
+ ${wrksrc}/bin/fpm test
+ cd ${wrksrc}
+}
+
+do_install() {
+ vbin ${wrksrc}/bin/fpm
+ vlicense ${wrksrc}/LICENSE
+}
From 80ed8303ad0d6aeea181fe2381b569e7e3dae7de Mon Sep 17 00:00:00 2001
From: SRAZKVT <sarah.mathey66666@gmail.com>
Date: Mon, 26 Sep 2022 01:31:59 +0200
Subject: [PATCH 2/2] Marked x86_64 and i686 as target architectures
---
srcpkgs/fpm/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/fpm/template b/srcpkgs/fpm/template
index b6e1daa44db7..c2115569437e 100644
--- a/srcpkgs/fpm/template
+++ b/srcpkgs/fpm/template
@@ -3,7 +3,7 @@ pkgname=fpm
version=0.6.0
revision=1
create_wrksrc=yes
-#archs="x86_64* i686*"
+archs="x86_64* i686*"
hostmakedepends="gcc-fortran git"
depends="gcc-fortran git"
short_desc="Fortran Package Manager"
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: New package: fpm-0.6.0
2022-09-25 23:37 [PR PATCH] New package: fpm-0.6.0 SRAZKVT
@ 2022-12-25 1:58 ` github-actions
2023-01-08 2:01 ` [PR PATCH] [Closed]: " github-actions
1 sibling, 0 replies; 3+ messages in thread
From: github-actions @ 2022-12-25 1:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/39468#issuecomment-1364611009
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Closed]: New package: fpm-0.6.0
2022-09-25 23:37 [PR PATCH] New package: fpm-0.6.0 SRAZKVT
2022-12-25 1:58 ` github-actions
@ 2023-01-08 2:01 ` github-actions
1 sibling, 0 replies; 3+ messages in thread
From: github-actions @ 2023-01-08 2:01 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1051 bytes --]
There's a closed pull request on the void-packages repository
New package: fpm-0.6.0
https://github.com/void-linux/void-packages/pull/39468
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- x86_64-musl
- i686-glibc
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-01-08 2:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-25 23:37 [PR PATCH] New package: fpm-0.6.0 SRAZKVT
2022-12-25 1:58 ` github-actions
2023-01-08 2:01 ` [PR PATCH] [Closed]: " github-actions
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).