Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: postgrest-10.2.0
@ 2023-11-06 22:47 Chocimier
  2024-01-02 22:02 ` [PR PATCH] [Merged]: " Chocimier
  2024-01-03 14:22 ` Anachron
  0 siblings, 2 replies; 3+ messages in thread
From: Chocimier @ 2023-11-06 22:47 UTC (permalink / raw)
  To: ml

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

There is a new pull request by Chocimier against master on the void-packages repository

https://github.com/Chocimier/void-packages-org postgrest
https://github.com/void-linux/void-packages/pull/47103

New package: postgrest-10.2.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

Newer versions depend on newer GHC than we have.

cc @Anachron

closing #23118

#### 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, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/47103.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-postgrest-47103.patch --]
[-- Type: text/x-diff, Size: 1563 bytes --]

From ca649914d4ce0e5d6b69a5e84067b8ce50606a53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
Date: Mon, 6 Nov 2023 23:43:14 +0100
Subject: [PATCH] New package: postgrest-10.2.0

---
 srcpkgs/postgrest/template | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 srcpkgs/postgrest/template

diff --git a/srcpkgs/postgrest/template b/srcpkgs/postgrest/template
new file mode 100644
index 0000000000000..9c7af3039feca
--- /dev/null
+++ b/srcpkgs/postgrest/template
@@ -0,0 +1,35 @@
+# Template file for 'postgrest'
+pkgname=postgrest
+version=10.2.0
+revision=1
+hostmakedepends="cabal-install postgresql-libs-devel"
+makedepends="zlib-devel postgresql-libs-devel"
+short_desc="REST API for any Postgres database"
+maintainer="Piotr Wójcik <chocimier@tlen.pl>"
+license="MIT"
+homepage="https://postgrest.org/"
+distfiles="https://github.com/PostgREST/postgrest/archive/v${version}.tar.gz"
+checksum=23d63292d50d303bf61154061704f642dd3d699367e2ccb159ec7604f2848487
+nocross="cabal does not support cross compilation"
+nopie=yes # ghc is currently built without PIE support
+
+_cabal_opts="-g"
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	_cabal_opts+=" --ghc-option -latomic"
+fi
+
+if [ "$XBPS_MAKEJOBS" ]; then
+	_cabal_opts+=" --jobs=$XBPS_MAKEJOBS"
+fi
+
+do_build() {
+	cabal update $_cabal_opts
+	cabal build  $_cabal_opts
+	mv dist-newstyle/build/*/*/postgrest-${version}/x/postgrest/build/postgrest/postgrest postgrest
+}
+
+do_install() {
+	vbin postgrest
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Merged]: New package: postgrest-10.2.0
  2023-11-06 22:47 [PR PATCH] New package: postgrest-10.2.0 Chocimier
@ 2024-01-02 22:02 ` Chocimier
  2024-01-03 14:22 ` Anachron
  1 sibling, 0 replies; 3+ messages in thread
From: Chocimier @ 2024-01-02 22:02 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

New package: postgrest-10.2.0
https://github.com/void-linux/void-packages/pull/47103

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

Newer versions depend on newer GHC than we have.

cc @Anachron

closing #23118

#### 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, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

* Re: New package: postgrest-10.2.0
  2023-11-06 22:47 [PR PATCH] New package: postgrest-10.2.0 Chocimier
  2024-01-02 22:02 ` [PR PATCH] [Merged]: " Chocimier
@ 2024-01-03 14:22 ` Anachron
  1 sibling, 0 replies; 3+ messages in thread
From: Anachron @ 2024-01-03 14:22 UTC (permalink / raw)
  To: ml

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

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/pull/47103#issuecomment-1875450209

Comment:
Sorry, forgot to answer! Thanks for packaging!

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

end of thread, other threads:[~2024-01-03 14:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-06 22:47 [PR PATCH] New package: postgrest-10.2.0 Chocimier
2024-01-02 22:02 ` [PR PATCH] [Merged]: " Chocimier
2024-01-03 14:22 ` Anachron

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).