From 985c664d7cceb2a269899faadaa8eb8bece393d1 Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Wed, 8 Mar 2023 17:19:46 -0600 Subject: [PATCH 1/4] Initial Snap Commit --- snap/snapcraft.yaml | 67 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 snap/snapcraft.yaml diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml new file mode 100644 index 0000000000..b82cd82f66 --- /dev/null +++ b/snap/snapcraft.yaml @@ -0,0 +1,67 @@ +name: fpm +adopt-info: fpm +summary: Fortran Package Manager +description: | + Fortran Package Manager (fpm) is a package manager and build system for Fortran. + Its key goal is to improve the user experience of Fortran programmers. + It does so by making it easier to build your Fortran program or library, + run the executables, tests, and examples, and distribute it as a dependency + to other Fortran projects. Fpm's user interface is modeled after Rust's Cargo, + so if you're familiar with that tool, you will feel at home with fpm. + Fpm's long term vision is to nurture and grow the ecosystem of modern Fortran + applications and libraries. + + Fpm is an early prototype and is evolving rapidly. You can use it to build and + package your Fortran projects, as well as to use existing fpm packages as dependencies. + Fpm's behavior and user interface may change as it evolves, however as fpm matures + and we enter production, we will aim to stay backwards compatible. Please follow + the issues to contribute and/or stay up to date with the development. + Before opening a bug report or a feature suggestion, please read our Contributor Guide. + You can also discuss your ideas and queries with the community in fpm discussions, + or more broadly on Fortran-Lang Discourse. + + Fortran Package Manager is not to be confused with Jordan Sissel's fpm, a more general, + non-Fortran related package manager. + + Website: https://fpm.fortran-lang.org/ + +license: MIT + +base: core20 +grade: stable +confinement: strict +compression: lzo + +architectures: + - build-on: amd64 + +apps: + fpm: + command: usr/bin/fpm + plugs: + - home + +parts: + fpm: + source: https://github.com/fortran-lang/fpm + source-type: git + plugin: dump + build-packages: + - wget + - sed + + override-build: | + #VARS + ################################ + LATEST=$(curl -s https://api.github.com/repos/fortran-lang/fpm/releases/latest | grep '"tag_name":' | cut -d ":" -f2 | sed -E 's/.*"([^"]+)".*/\1/' | sed -E 's/^v//') + ################################ + + mkdir -p $SNAPCRAFT_PART_INSTALL/usr/bin/ + cd $SNAPCRAFT_PART_INSTALL/usr/bin/ + wget -O fpm "https://github.com/fortran-lang/fpm/releases/download/v${LATEST}/fpm-${LATEST}-linux-x86_64" + chmod a+x fpm + + override-pull: | + snapcraftctl pull + snapcraftctl set-version "$(curl -s https://api.github.com/repos/fortran-lang/fpm/releases/latest | grep '"tag_name":' | cut -d ":" -f2 | sed -E 's/.*"([^"]+)".*/\1/' | sed -E 's/^v//')" + From f6fc1462c0eaabdfbfd9f1359eab6c37a4d4a0b6 Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Wed, 8 Mar 2023 20:51:57 -0600 Subject: [PATCH 2/4] someone took fpm --- snap/snapcraft.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index b82cd82f66..3c06ea7d40 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,5 +1,5 @@ -name: fpm -adopt-info: fpm +name: fortran-fpm +adopt-info: fortran-fpm summary: Fortran Package Manager description: | Fortran Package Manager (fpm) is a package manager and build system for Fortran. @@ -36,19 +36,19 @@ architectures: - build-on: amd64 apps: - fpm: + fortran-fpm: command: usr/bin/fpm plugs: - home parts: - fpm: + fortran-fpm: source: https://github.com/fortran-lang/fpm source-type: git plugin: dump build-packages: - wget - - sed + - curl override-build: | #VARS From ee140b1d57157237d00828d9f045b3b93fee40ef Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Fri, 3 Nov 2023 09:53:34 -0500 Subject: [PATCH 3/4] GH actions --- .github/workflows/test-snap-can-build.yml | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/test-snap-can-build.yml diff --git a/.github/workflows/test-snap-can-build.yml b/.github/workflows/test-snap-can-build.yml new file mode 100644 index 0000000000..f0ea298ca8 --- /dev/null +++ b/.github/workflows/test-snap-can-build.yml @@ -0,0 +1,25 @@ +name: 🧪 Test snap can be built on x86_64 + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - uses: snapcore/action-build@v1 + id: build + + - uses: diddlesnaps/snapcraft-review-action@v1 + with: + snap: ${{ steps.build.outputs.snap }} + isClassic: 'false' + # Plugs and Slots declarations to override default denial (requires store assertion to publish) + #plugs: ./plug-declaration.json + #slots: ./slot-declaration.json From bb222b482c124191f05b90fb8fa4bb8eaf22c18f Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Wed, 23 Oct 2024 11:14:20 -0500 Subject: [PATCH 4/4] core24 upgrade --- .github/workflows/test-snap-can-build.yml | 2 +- README.md | 12 ++++++++++++ snap/local/fpm.png | Bin 0 -> 15203 bytes snap/snapcraft.yaml | 20 +++++++++++++------- 4 files changed, 26 insertions(+), 8 deletions(-) create mode 100644 snap/local/fpm.png diff --git a/.github/workflows/test-snap-can-build.yml b/.github/workflows/test-snap-can-build.yml index f0ea298ca8..3e6d948af8 100644 --- a/.github/workflows/test-snap-can-build.yml +++ b/.github/workflows/test-snap-can-build.yml @@ -1,4 +1,4 @@ -name: 🧪 Test snap can be built on x86_64 +name: 🧪 Snap Builds on: push: diff --git a/README.md b/README.md index 3670cede53..4b3032717e 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,18 @@ webpage for a list of **[All Supported Installations](https://fpm.fortran-lang.o The easiest installation routes are shown below. +### [Snap](https://snapcraft.io/fortran-fpm) + +[![fortran-fpm](https://snapcraft.io/fortran-fpm/badge.svg)](https://snapcraft.io/fortran-fpm) + +[![🧪 Snap Builds](https://github.com/kz6fittycent/fpm/actions/workflows/test-snap-can-build.yml/badge.svg?branch=main)](https://github.com/kz6fittycent/fpm/actions/workflows/test-snap-can-build.yml) + +**Note:** Linux only + +``` +sudo snap install fortran-fpm +``` + ### [Binary](https://github.com/fortran-lang/fpm/releases) Binaries for the latest stable release are available [to download](https://github.com/fortran-lang/fpm/releases/latest) for Windows, MacOS, and Linux. diff --git a/snap/local/fpm.png b/snap/local/fpm.png new file mode 100644 index 0000000000000000000000000000000000000000..1ab82e3923feab3deca6afd805873d1c3f237cb9 GIT binary patch literal 15203 zcmV-pJDkLcP)EX>4Tx04R}tkv&MmKpe$iQ>9X>4i*$~$WWauNELC^DionYsTEpvFuC*#nlvOS zE{=k0!NHHks)LKOt`4q(Aou~|?BJy6A|?JWDYS_3;J6>}?mh0_0Yam~RI_UWP&La) zC*oo@w<-o+5yT++5JOC2raqTSCE+=~?&0I>U6f~epZjz4DtVIuK9P8q>4rtTK|H-_ z>74h8!>lAJ#OK8023?T&k?XR{Z=8z`3p_JyWYY7*VPdh^!Ey()lA#h$5l0kNqkJLj zvch?bvs$UK);;+PLwRjwnd>x1kia6Akb(#qHIz|-g($5WDJIgiANTMNJN^{8WO9|k z$gzMbR7j2={11M2YZfMBZc-=?bidg4$0!ik1)6o+{yw(t<_X|`2ClTWzuEw1K1r{) zwa5|BzYSbmw>5bWxZDATo^;8O9LY~pC=`JAGy0|+FmMY5*WBJ(`#607GSpS_1~@nb z#)_1^?(y!P&ffk#)9UXB<9Kq^93Zgs00006VoOIv0RI600RN!9r;`8x010qNS#tmY zE+YT{E+YYWr9XB6000McNliru=n5AOGdU1Vg!%vg02y>eSad^gZEa<4bO1wgWnpw> zWFU8GbZ8()Nlj2!fese{03ZNKL_t(|+U>n}uq4-g-~0KU?zwUA-M!d^-Ngcn1(5>@ zP+$NECYhvZiWDuX-)t6b&sKQ5Oo%O%NrPr;(BK*%I5F;gNz z5`hGfiL3>%h>Ns2+Ra1L+rsqueIp_ENh4Txds!9*Z zTFaSJv%GZpbzV61I2Gvh@YTnp!Gm}EUvz|w~ClC^cm+vu}mp;9qS?;2<4 zCEM8lmYwWBxQl(4>}GPyI3m&${*zt-z{2?@o_qQT58m}O&)okSwx)nVtrjxtY78qY zEYND>=?a@b*U0=UF|4ezdGgG^8rZGnS@Yv{YVI~X-a6;5pVy*j?!*W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c06ea7d40..742698c3fc 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -26,14 +26,20 @@ description: | Website: https://fpm.fortran-lang.org/ license: MIT +source-code: https://github.com/fortran-lang/fpm +issues: https://github.com/kz6fittycent/fpm/issues +contact: https://github.com/kz6fittycent/fpm +icon: snap/local/fpm.png -base: core20 +base: core24 grade: stable confinement: strict compression: lzo -architectures: - - build-on: amd64 +platforms: + amd64: + build-on: [amd64] + build-for: [amd64] apps: fortran-fpm: @@ -56,12 +62,12 @@ parts: LATEST=$(curl -s https://api.github.com/repos/fortran-lang/fpm/releases/latest | grep '"tag_name":' | cut -d ":" -f2 | sed -E 's/.*"([^"]+)".*/\1/' | sed -E 's/^v//') ################################ - mkdir -p $SNAPCRAFT_PART_INSTALL/usr/bin/ - cd $SNAPCRAFT_PART_INSTALL/usr/bin/ + mkdir -p $CRAFT_PART_INSTALL/usr/bin/ + cd $CRAFT_PART_INSTALL/usr/bin/ wget -O fpm "https://github.com/fortran-lang/fpm/releases/download/v${LATEST}/fpm-${LATEST}-linux-x86_64" chmod a+x fpm override-pull: | - snapcraftctl pull - snapcraftctl set-version "$(curl -s https://api.github.com/repos/fortran-lang/fpm/releases/latest | grep '"tag_name":' | cut -d ":" -f2 | sed -E 's/.*"([^"]+)".*/\1/' | sed -E 's/^v//')" + craftctl default + craftctl set version="$(curl -s https://api.github.com/repos/fortran-lang/fpm/releases/latest | grep '"tag_name":' | cut -d ":" -f2 | sed -E 's/.*"([^"]+)".*/\1/' | sed -E 's/^v//')"