Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Rsistent
@ 2021-07-25 13:42 steinex
  2021-07-25 13:42 ` [PR PATCH] [Closed]: Rsistent steinex
  0 siblings, 1 reply; 2+ messages in thread
From: steinex @ 2021-07-25 13:42 UTC (permalink / raw)
  To: ml

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

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

https://github.com/steinex/void-packages rsistent
https://github.com/void-linux/void-packages/pull/32191

Rsistent
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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/32191.patch is attached

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

From 2f44901f0e905736c7bc83cde4461659fe54da17 Mon Sep 17 00:00:00 2001
From: Frank Steinborn <steinex@nognu.de>
Date: Sun, 25 Jul 2021 11:15:46 +0200
Subject: [PATCH 1/2] New package: shiori-1.5.0

---
 srcpkgs/shiori/files/shiori/run |  4 ++++
 srcpkgs/shiori/template         | 23 +++++++++++++++++++++++
 2 files changed, 27 insertions(+)
 create mode 100644 srcpkgs/shiori/files/shiori/run
 create mode 100644 srcpkgs/shiori/template

diff --git a/srcpkgs/shiori/files/shiori/run b/srcpkgs/shiori/files/shiori/run
new file mode 100644
index 000000000000..0cd56601f58d
--- /dev/null
+++ b/srcpkgs/shiori/files/shiori/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+[ -r ./conf ] && . ./conf
+exec chpst -u _shiori shiori serve ${OPTS="--address 127.0.0.1 --port 8080"}
diff --git a/srcpkgs/shiori/template b/srcpkgs/shiori/template
new file mode 100644
index 000000000000..9a7ec9528226
--- /dev/null
+++ b/srcpkgs/shiori/template
@@ -0,0 +1,23 @@
+# Template file for 'shiori'
+pkgname=shiori
+version=1.5.0
+revision=1
+build_style=go
+go_import_path=github.com/go-shiori/shiori
+short_desc="Simple bookmark manager built with Go"
+maintainer="Frank Steinborn <steinex@nognu.de>"
+license="MIT"
+homepage="https://github.com/go-shiori/shiori"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=c2ebc0f009feb22f891c7ab0fa7b8c0d71e1cfc34a974c7503a702ec07d8e9ee
+
+system_accounts="_shiori"
+_shiori_homedir="/var/lib/shiori"
+_shiori_descr="shiori bookmark manager"
+
+make_dirs="/var/lib/shiori 0700 _shiori _shiori"
+
+post_install() {
+	vsv shiori
+	vlicense LICENSE
+}

From 8a3521df4462ed328066984a50a96fb67f31a2a9 Mon Sep 17 00:00:00 2001
From: Frank Steinborn <steinex@nognu.de>
Date: Sun, 25 Jul 2021 15:34:36 +0200
Subject: [PATCH 2/2] python3-rsistent: remove

Recently python3-pyrsistent was added which is the same package and
installs the same files. Keep the more recent one, fix dependencies and
drop this.

Fixes installation of synapse.
---
 srcpkgs/python3-eliot/template      |  2 +-
 srcpkgs/python3-pyrsistent/template |  6 ++++++
 srcpkgs/python3-rsistent            |  1 +
 srcpkgs/python3-rsistent/template   | 19 -------------------
 4 files changed, 8 insertions(+), 20 deletions(-)
 create mode 120000 srcpkgs/python3-rsistent
 delete mode 100644 srcpkgs/python3-rsistent/template

diff --git a/srcpkgs/python3-eliot/template b/srcpkgs/python3-eliot/template
index 0cbb23eb4184..0e9bd1f5ff69 100644
--- a/srcpkgs/python3-eliot/template
+++ b/srcpkgs/python3-eliot/template
@@ -5,7 +5,7 @@ revision=2
 wrksrc="eliot-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-setuptools python3-six python3-zope.interface python3-rsistent
+depends="python3-setuptools python3-six python3-zope.interface python3-pyrsistent
  python3-boltons"
 short_desc="Logging library that tells you why it happened"
 maintainer="Orphaned <orphan@voidlinux.org>"
diff --git a/srcpkgs/python3-pyrsistent/template b/srcpkgs/python3-pyrsistent/template
index 9bb7e54de304..0a4b40b739fa 100644
--- a/srcpkgs/python3-pyrsistent/template
+++ b/srcpkgs/python3-pyrsistent/template
@@ -17,3 +17,9 @@ checksum=2e636185d9eb976a18a8a8e96efce62f2905fea90041958d8cc2a189756ebf3e
 post_install() {
 	vlicense LICENCE.mit LICENSE
 }
+
+python3-rsistent_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - transitional dummy package"
+	build_style=meta
+}
diff --git a/srcpkgs/python3-rsistent b/srcpkgs/python3-rsistent
new file mode 120000
index 000000000000..5e610c2b86f9
--- /dev/null
+++ b/srcpkgs/python3-rsistent
@@ -0,0 +1 @@
+python3-pyrsistent
\ No newline at end of file
diff --git a/srcpkgs/python3-rsistent/template b/srcpkgs/python3-rsistent/template
deleted file mode 100644
index 05a8ef1fe38f..000000000000
--- a/srcpkgs/python3-rsistent/template
+++ /dev/null
@@ -1,19 +0,0 @@
-# Template file for 'python3-rsistent'
-pkgname=python3-rsistent
-version=0.15.7
-revision=2
-wrksrc="pyrsistent-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-makedepends="python3-devel"
-depends="python3-six"
-short_desc="Persistent/Functional/Immutable data structures"
-maintainer="Orphaned <orphan@voidlinux.org>"
-license="MIT"
-homepage="https://github.com/tobgu/pyrsistent/"
-distfiles="${PYPI_SITE}/p/pyrsistent/pyrsistent-${version}.tar.gz"
-checksum=cdc7b5e3ed77bed61270a47d35434a30617b9becdf2478af76ad2c6ade307280
-
-post_intsall() {
-	vlicense LICENSE.mit
-}

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

* Re: [PR PATCH] [Closed]: Rsistent
  2021-07-25 13:42 [PR PATCH] Rsistent steinex
@ 2021-07-25 13:42 ` steinex
  0 siblings, 0 replies; 2+ messages in thread
From: steinex @ 2021-07-25 13:42 UTC (permalink / raw)
  To: ml

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

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

Rsistent
https://github.com/void-linux/void-packages/pull/32191

Description:
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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] 2+ messages in thread

end of thread, other threads:[~2021-07-25 13:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-25 13:42 [PR PATCH] Rsistent steinex
2021-07-25 13:42 ` [PR PATCH] [Closed]: Rsistent steinex

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