Github messages for voidlinux
 help / color / mirror / Atom feed
From: motorto <motorto@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: Pari optional packages  
Date: Tue, 01 Sep 2020 13:04:22 +0200	[thread overview]
Message-ID: <20200901110422.NlTg0WgJGiEeA7xYp7Kfm4YJPyVH4X8CTOiOcnTBqh0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24371@inbox.vuxu.org>

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

New comment by motorto on void-packages repository

https://github.com/void-linux/void-packages/pull/24371#issuecomment-684771400

Comment:
```
diff --git a/srcpkgs/pari-seadata-big/template b/srcpkgs/pari-seadata-big/template
deleted file mode 100644
index b681dd1e11..0000000000
--- a/srcpkgs/pari-seadata-big/template
+++ /dev/null
@@ -1,17 +0,0 @@
-# Template file for 'pari-seadata-big'
-pkgname=pari-seadata-big
-version=20170418
-revision=1
-create_wrksrc=yes
-depends="pari"
-short_desc="PARI/GP package needed by ellap for large primes up to 1100 bits"
-maintainer="André Cerqueira <acerqueira021@gmail.com>"
-license="GPL-3.0-or-later"
-homepage="http://pari.math.u-bordeaux.fr/packages.html"
-distfiles="https://pari.math.u-bordeaux.fr/pub/pari/packages/seadata-big.tar"
-checksum=7c4db2624808a5bbd2ba00f8b644a439f0508532efd680a247610fdd5822a5f2
-
-do_install() {
-	vmkdir  usr/share/pari
-	vcopy data/seadata usr/share/pari
-}
diff --git a/srcpkgs/pari-seadata/template b/srcpkgs/pari-seadata/template
index 7dda924deb..1324d798a0 100644
--- a/srcpkgs/pari-seadata/template
+++ b/srcpkgs/pari-seadata/template
@@ -15,3 +15,14 @@ do_install() {
 	vmkdir usr/share/pari/seadata
 	vcopy "data/seadata/sea???" usr/share/pari/seadata
 }
+
+pari-seadata-big_package() {
+		distfiles="https://pari.math.u-bordeaux.fr/pub/pari/packages/seadata-big.tar"
+		checksum=7c4db2624808a5bbd2ba00f8b644a439f0508532efd680a247610fdd5822a5f2
+		short_desc+=" - development files"
+		depends="${sourcepkg}>=${version}_${revision}"
+		pkg_install() {
+			vmkdir  usr/share/pari
+			vcopy data/seadata usr/share/pari
+		}
+}
```

So far have done this. I am still not sure if the subpackages can have distfiles. But I can't create the symbolic link on my local machine.

`ln -s srcpkgs/pari-seadata srcpkgs/pari-seadata-big`

Isn't this the way to create symbolic links ? 

  parent reply	other threads:[~2020-09-01 11:04 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-19 21:01 [PR PATCH] " motorto
2020-08-19 21:20 ` [PR PATCH] [Closed]: " motorto
2020-08-19 21:20 ` [PR PATCH] [Updated] " motorto
2020-08-19 21:28 ` motorto
2020-08-19 21:32 ` motorto
2020-08-20 12:09 ` sgn
2020-08-20 12:37 ` motorto
2020-08-20 12:38 ` motorto
2020-08-21  8:59 ` dkwo
2020-08-21  9:01 ` dkwo
2020-08-21  9:28 ` motorto
2020-08-21  9:44 ` motorto
2020-08-21 10:13 ` [PR PATCH] [Updated] " motorto
2020-08-21 11:29 ` dkwo
2020-08-21 11:52 ` motorto
2020-08-21 11:59 ` motorto
2020-08-31 18:48 ` [PR REVIEW] " Piraty
2020-08-31 19:35 ` motorto
2020-08-31 20:33 ` motorto
2020-08-31 20:33 ` motorto
2020-09-01  4:27 ` sgn
2020-09-01  4:28 ` sgn
2020-09-01  7:21 ` [PR REVIEW] " Piraty
2020-09-01  7:30 ` sgn
2020-09-01  9:48 ` Piraty
2020-09-01 10:16 ` [PR PATCH] [Updated] " motorto
2020-09-01 10:21 ` [PR REVIEW] " motorto
2020-09-01 11:04 ` motorto [this message]
2020-09-01 11:06 ` motorto
2020-09-01 18:51 ` motorto
2020-09-01 18:58 ` motorto
2020-09-01 18:58 ` motorto
2020-09-01 19:00 ` [PR REVIEW] " motorto
2020-09-02  1:58 ` sgn
2020-09-02  8:59 ` [PR PATCH] [Updated] " motorto
2020-09-02 14:17 ` motorto
2020-09-02 14:19 ` motorto
2020-09-02 15:35 ` [PR PATCH] [Updated] " motorto
2020-09-04 20:10 ` motorto
2020-09-14 21:38 ` motorto
2020-09-14 22:00 ` sgn
2020-09-15  8:36 ` motorto
2020-09-15  8:39 ` motorto
2020-09-15  8:52 ` [PR PATCH] [Updated] " motorto
2020-09-15  8:53 ` motorto
2020-09-15 10:12 ` [PR PATCH] [Closed]: " Piraty
2020-09-15 11:59 ` dkwo
2020-09-15 11:59 ` dkwo
2020-09-15 12:00 ` dkwo
2020-09-15 12:35 ` dkwo
2020-09-16 14:32 ` dkwo
2020-09-16 17:57 ` motorto
2020-09-16 18:46 ` motorto
2020-09-16 20:30 ` motorto
2020-09-17  1:01 ` sgn

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=20200901110422.NlTg0WgJGiEeA7xYp7Kfm4YJPyVH4X8CTOiOcnTBqh0@z \
    --to=motorto@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).