From: SRAZKVT <SRAZKVT@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: fpm-0.6.0
Date: Mon, 26 Sep 2022 01:37:45 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39468@inbox.vuxu.org> (raw)
[-- 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"
next reply other threads:[~2022-09-25 23:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-25 23:37 SRAZKVT [this message]
2022-12-25 1:58 ` github-actions
2023-01-08 2:01 ` [PR PATCH] [Closed]: " github-actions
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39468@inbox.vuxu.org \
--to=srazkvt@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).