Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: Grammalecte-1.6.0
@ 2020-01-23  9:56 voidlinux-github
  2020-01-25 11:15 ` voidlinux-github
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: voidlinux-github @ 2020-01-23  9:56 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eluminae/void-packages grammalecte
https://github.com/void-linux/void-packages/pull/18492

New package: Grammalecte-1.6.0


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

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

From 6b525e7cce5db6d6799ba08b04b309646ea1b4ab Mon Sep 17 00:00:00 2001
From: Reed Wade <reedwade@misterbanal.net>
Date: Thu, 23 Jan 2020 10:55:51 +0100
Subject: [PATCH] New package: Grammalecte-1.6.0

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

diff --git a/srcpkgs/Grammalecte/template b/srcpkgs/Grammalecte/template
new file mode 100644
index 00000000000..63562daa388
--- /dev/null
+++ b/srcpkgs/Grammalecte/template
@@ -0,0 +1,18 @@
+# Template file for 'Grammalecte'
+pkgname=Grammalecte
+version=1.6.0
+revision=1
+archs=noarch
+build_style=python3-module
+hostmakedepends="python3-setuptools unzip"
+depends="python3"
+short_desc="Checks your french writing"
+maintainer="Stacy Harper <contact@stacyhaper.net>"
+license="GPL-3.0-only"
+homepage="https://grammalecte.net/"
+distfiles=https://grammalecte.net/grammalecte/zip/Grammalecte-fr-v${version}.zip
+checksum=96e18f65af2ac38dcf625de8bdf69054a300e9389f64b74ceb433428fa1be14f
+
+do_extract() {
+	unzip "${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-fr-v${version}.zip" -d "$wrksrc"
+}

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

* Re: New package: Grammalecte-1.6.0
  2020-01-23  9:56 [PR PATCH] New package: Grammalecte-1.6.0 voidlinux-github
@ 2020-01-25 11:15 ` voidlinux-github
  2020-01-25 11:28 ` voidlinux-github
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: voidlinux-github @ 2020-01-25 11:15 UTC (permalink / raw)
  To: ml

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

New comment by jnbr on void-packages repository

https://github.com/void-linux/void-packages/pull/18492#issuecomment-578397773

Comment:
You can remove `unzip` and the `do_extract` hook, support to extract zip files was added to xbps-src.
You might have to rebase your branch for this to work.

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

* Re: New package: Grammalecte-1.6.0
  2020-01-23  9:56 [PR PATCH] New package: Grammalecte-1.6.0 voidlinux-github
  2020-01-25 11:15 ` voidlinux-github
@ 2020-01-25 11:28 ` voidlinux-github
  2020-01-25 11:44 ` voidlinux-github
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: voidlinux-github @ 2020-01-25 11:28 UTC (permalink / raw)
  To: ml

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

New comment by Eluminae on void-packages repository

https://github.com/void-linux/void-packages/pull/18492#issuecomment-578398517

Comment:
> You can remove `unzip` and the `do_extract` hook, support to extract zip files was added to xbps-src.

I had an issue and by-passed it this way. Maybe there is a better
solution:

```
-%<-
=> Grammalecte-1.6.0_1: extracting distfile(s), please wait...
/void-packages/common/xbps-src/shutils/common.sh: line 31: cd: /builddir/Grammalecte-1.6.0: No such file or directory
=> ERROR: Grammalecte-1.6.0_1: cannot access wrksrc directory [/builddir/Grammalecte-1.6.0]
```

```
void-packages$ ls masterdir/builddir/
grammalecte  grammalecte-cli.py  grammalecte-server.py  LICENSE.fr.txt
LICENSE.txt  README.txt  setup.py
```

The vanila do_extract seems to not extract in a "${pkgname}-${version}"
directory but in the builddir root. Or maybe Grammalecte do not respect
the tree structure in their released zip.

How should we do?


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

* Re: New package: Grammalecte-1.6.0
  2020-01-23  9:56 [PR PATCH] New package: Grammalecte-1.6.0 voidlinux-github
  2020-01-25 11:15 ` voidlinux-github
  2020-01-25 11:28 ` voidlinux-github
@ 2020-01-25 11:44 ` voidlinux-github
  2020-01-25 11:50 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: voidlinux-github @ 2020-01-25 11:44 UTC (permalink / raw)
  To: ml

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

New comment by jnbr on void-packages repository

https://github.com/void-linux/void-packages/pull/18492#issuecomment-578399428

Comment:
Setting `create_wrksrc=yes` should work around it.

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

* Re: [PR PATCH] [Updated] New package: Grammalecte-1.6.0
  2020-01-23  9:56 [PR PATCH] New package: Grammalecte-1.6.0 voidlinux-github
                   ` (2 preceding siblings ...)
  2020-01-25 11:44 ` voidlinux-github
@ 2020-01-25 11:50 ` voidlinux-github
  2020-01-25 11:50 ` voidlinux-github
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: voidlinux-github @ 2020-01-25 11:50 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Eluminae against master on the void-packages repository

https://github.com/Eluminae/void-packages grammalecte
https://github.com/void-linux/void-packages/pull/18492

New package: Grammalecte-1.6.0


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

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

From b88ace7d2555e570c9cc196068211c7375faba0e Mon Sep 17 00:00:00 2001
From: Reed Wade <reedwade@misterbanal.net>
Date: Thu, 23 Jan 2020 10:55:51 +0100
Subject: [PATCH] New package: Grammalecte-1.6.0

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

diff --git a/srcpkgs/Grammalecte/template b/srcpkgs/Grammalecte/template
new file mode 100644
index 00000000000..c6bd5f68095
--- /dev/null
+++ b/srcpkgs/Grammalecte/template
@@ -0,0 +1,15 @@
+# Template file for 'Grammalecte'
+pkgname=Grammalecte
+version=1.6.0
+revision=1
+archs=noarch
+create_wrksrc=yes
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Checks your french writing"
+maintainer="Stacy Harper <contact@stacyhaper.net>"
+license="GPL-3.0-only"
+homepage="https://grammalecte.net/"
+distfiles=https://grammalecte.net/grammalecte/zip/Grammalecte-fr-v${version}.zip
+checksum=96e18f65af2ac38dcf625de8bdf69054a300e9389f64b74ceb433428fa1be14f

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

* Re: New package: Grammalecte-1.6.0
  2020-01-23  9:56 [PR PATCH] New package: Grammalecte-1.6.0 voidlinux-github
                   ` (3 preceding siblings ...)
  2020-01-25 11:50 ` [PR PATCH] [Updated] " voidlinux-github
@ 2020-01-25 11:50 ` voidlinux-github
  2020-01-27  8:19 ` voidlinux-github
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: voidlinux-github @ 2020-01-25 11:50 UTC (permalink / raw)
  To: ml

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

New comment by Eluminae on void-packages repository

https://github.com/void-linux/void-packages/pull/18492#issuecomment-578399847

Comment:
> Setting `create_wrksrc=yes` should work around it.

This is just amazing. Fixed! Thanks a lot!


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

* Re: New package: Grammalecte-1.6.0
  2020-01-23  9:56 [PR PATCH] New package: Grammalecte-1.6.0 voidlinux-github
                   ` (4 preceding siblings ...)
  2020-01-25 11:50 ` voidlinux-github
@ 2020-01-27  8:19 ` voidlinux-github
  2020-01-27 21:31 ` [PR PATCH] [Merged]: " voidlinux-github
  2020-01-27 21:37 ` voidlinux-github
  7 siblings, 0 replies; 9+ messages in thread
From: voidlinux-github @ 2020-01-27  8:19 UTC (permalink / raw)
  To: ml

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

New comment by Eluminae on void-packages repository

https://github.com/void-linux/void-packages/pull/18492#issuecomment-578638203

Comment:
```
=> ERROR: Grammalecte-1.6.0_1: cannot find unzip or bsdtar bin for extraction.
The command "if [ -z "$XLINT" ]; then docker exec -t void hostrepo/common/travis/build.sh $BOOTSTRAP $ARCH; fi" exited with 1.
```
Some archs miss unzip on travis. What to do ?

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

* Re: [PR PATCH] [Merged]: New package: Grammalecte-1.6.0
  2020-01-23  9:56 [PR PATCH] New package: Grammalecte-1.6.0 voidlinux-github
                   ` (5 preceding siblings ...)
  2020-01-27  8:19 ` voidlinux-github
@ 2020-01-27 21:31 ` voidlinux-github
  2020-01-27 21:37 ` voidlinux-github
  7 siblings, 0 replies; 9+ messages in thread
From: voidlinux-github @ 2020-01-27 21:31 UTC (permalink / raw)
  To: ml

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

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

New package: Grammalecte-1.6.0
https://github.com/void-linux/void-packages/pull/18492

Description:


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

* Re: New package: Grammalecte-1.6.0
  2020-01-23  9:56 [PR PATCH] New package: Grammalecte-1.6.0 voidlinux-github
                   ` (6 preceding siblings ...)
  2020-01-27 21:31 ` [PR PATCH] [Merged]: " voidlinux-github
@ 2020-01-27 21:37 ` voidlinux-github
  7 siblings, 0 replies; 9+ messages in thread
From: voidlinux-github @ 2020-01-27 21:37 UTC (permalink / raw)
  To: ml

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

New comment by jnbr on void-packages repository

https://github.com/void-linux/void-packages/pull/18492#issuecomment-578965544

Comment:
Not sure what is going on. It worked on my machine. Our builders didn't like it either, so I added bsdtar to hostmakedepends for now.
Thanks for your contribution.

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

end of thread, other threads:[~2020-01-27 21:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-23  9:56 [PR PATCH] New package: Grammalecte-1.6.0 voidlinux-github
2020-01-25 11:15 ` voidlinux-github
2020-01-25 11:28 ` voidlinux-github
2020-01-25 11:44 ` voidlinux-github
2020-01-25 11:50 ` [PR PATCH] [Updated] " voidlinux-github
2020-01-25 11:50 ` voidlinux-github
2020-01-27  8:19 ` voidlinux-github
2020-01-27 21:31 ` [PR PATCH] [Merged]: " voidlinux-github
2020-01-27 21:37 ` voidlinux-github

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