Github messages for voidlinux
 help / color / mirror / Atom feed
From: zzaba <zzaba@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: samtools-1.13
Date: Mon, 09 Aug 2021 23:16:49 +0200	[thread overview]
Message-ID: <20210809211649.k1czdT5BvovywBSALvvrlLfy0ufOrtA8TlCyb6GwO6Y@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-32419@inbox.vuxu.org>

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

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

https://github.com/zzaba/void-packages samtools
https://github.com/void-linux/void-packages/pull/32419

New package: samtools-1.13
<!-- Mark items with [x] where applicable -->

#### General
- [x] 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
- [x] 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? 
I built this PR in like 15 mins for all archs.
- [x] I built this PR locally for my native architecture, (x86_64)
- [x] I built this PR locally for these architectures:
  - [x] aarch64-musl
  - [x] armv7l
  - [x] armv6l-musl


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

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

From c3641ee1b61dac0e4425c81d932f017941f4b864 Mon Sep 17 00:00:00 2001
From: Saba Gogichaishvili <sd.gogich@gmail.com>
Date: Mon, 9 Aug 2021 03:31:21 +0400
Subject: [PATCH] New package: samtools-1.13

---
 common/shlibs             |  1 +
 srcpkgs/bcftools/template | 18 ++++++++++++++++++
 srcpkgs/htslib-devel      |  1 +
 srcpkgs/htslib/template   | 30 ++++++++++++++++++++++++++++++
 srcpkgs/samtools/template | 18 ++++++++++++++++++
 5 files changed, 68 insertions(+)
 create mode 100644 srcpkgs/bcftools/template
 create mode 120000 srcpkgs/htslib-devel
 create mode 100644 srcpkgs/htslib/template
 create mode 100644 srcpkgs/samtools/template

diff --git a/common/shlibs b/common/shlibs
index 278d2456072f..4f4d9cc4aa7c 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4004,3 +4004,4 @@ liblhasa.so.0 lhasa-0.3.1_2
 libmt32emu.so.2 libmt32emu-2.5.1_1
 libqrtr-glib.so.0 libqrtr-glib-1.0.0_1
 libstemmer.so.2 libstemmer-2.1.0_1
+libhts.so.3 htslib-1.13_1
diff --git a/srcpkgs/bcftools/template b/srcpkgs/bcftools/template
new file mode 100644
index 000000000000..c0732f3510b5
--- /dev/null
+++ b/srcpkgs/bcftools/template
@@ -0,0 +1,18 @@
+# Template file for 'bcftools'
+pkgname=bcftools
+version=1.13
+revision=1
+build_style=configure
+configure_args="--prefix=/usr --with-htslib=system"
+makedepends="htslib-devel zlib-devel gsl-devel perl"
+short_desc="Reading/writing BCF2/VCF/gVCF files and calling/filtering/summarising SNP and short indel sequence variants"
+maintainer="Saba Gogichaishvili <sd.gogich@gmail.com>"
+license="MIT"
+homepage="https://www.htslib.org/"
+distfiles="https://github.com/samtools/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.bz2"
+checksum="13bfa1da2a5edda8fa51196a47a0b4afb3fef17516451e4f0e78477f3dd30b90"
+python_version=3
+
+post_install() {
+	vlicense LICENSE
+}
diff --git a/srcpkgs/htslib-devel b/srcpkgs/htslib-devel
new file mode 120000
index 000000000000..9786daad45dd
--- /dev/null
+++ b/srcpkgs/htslib-devel
@@ -0,0 +1 @@
+htslib
\ No newline at end of file
diff --git a/srcpkgs/htslib/template b/srcpkgs/htslib/template
new file mode 100644
index 000000000000..ea70357207c7
--- /dev/null
+++ b/srcpkgs/htslib/template
@@ -0,0 +1,30 @@
+# Template file for 'htslib'
+pkgname=htslib
+version=1.13
+revision=1
+build_style=configure
+configure_args="--prefix=/usr"
+makedepends="zlib-devel bzip2-devel liblzma-devel libcurl-devel openssl-devel"
+checkdepends="perl"
+short_desc="A C library for high-throughput sequencing data formats"
+maintainer="Saba Gogichaishvili <sd.gogich@gmail.com>"
+license="MIT"
+homepage="https://www.htslib.org/"
+distfiles="https://github.com/samtools/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.bz2"
+checksum="f2407df9f97f0bb6b07656579e41a1ca5100464067b6b21bf962a2ea4b0efd65"
+
+post_install() {
+	vlicense LICENSE
+}
+
+htslib-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+		vmove usr/share
+	}
+}
diff --git a/srcpkgs/samtools/template b/srcpkgs/samtools/template
new file mode 100644
index 000000000000..f179f13aba35
--- /dev/null
+++ b/srcpkgs/samtools/template
@@ -0,0 +1,18 @@
+# Template file for 'samtools'
+pkgname=samtools
+version=1.13
+revision=1
+build_style=configure
+configure_args="--prefix=/usr --with-htslib=system"
+makedepends="htslib-devel zlib-devel ncurses-devel"
+checkdepends="perl"
+short_desc="Reading/writing/editing/indexing/viewing SAM/BAM/CRAM format"
+maintainer="Saba Gogichaishvili <sd.gogich@gmail.com>"
+license="MIT"
+homepage="https://www.htslib.org/"
+distfiles="https://github.com/samtools/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.bz2"
+checksum="616ca2e051cc8009a1e9c01cfd8c7caf8b70916ddff66f3b76914079465f8c60"
+
+post_install() {
+	vlicense LICENSE
+}

  parent reply	other threads:[~2021-08-09 21:16 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-08 22:29 [PR PATCH] " zzaba
2021-08-08 23:04 ` [PR PATCH] [Updated] " zzaba
2021-08-08 23:10 ` zzaba
2021-08-09 13:11 ` jmarshall
2021-08-09 16:18 ` zzaba
2021-08-09 16:26 ` zzaba
2021-08-09 17:04 ` paper42
2021-08-09 17:05 ` zzaba
2021-08-09 17:22 ` paper42
2021-08-09 21:16 ` zzaba [this message]
2021-08-09 21:17 ` abenson
2021-08-09 21:20 ` zzaba
2021-08-09 21:23 ` paper42
2021-08-09 21:28 ` [PR PATCH] [Updated] " zzaba
2021-08-09 21:41 ` zzaba
2021-08-09 22:19 ` zzaba
2021-08-09 22:44 ` zzaba
2021-08-10 18:33 ` [PR REVIEW] " ericonr
2021-08-10 18:33 ` ericonr
2021-08-10 18:33 ` ericonr
2021-08-10 18:33 ` ericonr
2021-08-10 19:59 ` zzaba
2021-08-10 20:00 ` zzaba
2021-08-10 20:38 ` paper42
2021-08-10 20:45 ` zzaba
2021-08-10 20:59 ` paper42
2021-08-10 21:03 ` [PR PATCH] [Updated] " zzaba
2021-08-11  2:03 ` [PR REVIEW] " ericonr
2021-08-11  8:50 ` jmarshall
2021-08-11  9:27 ` jmarshall
2021-08-11 10:56 ` zzaba
2021-08-11 10:57 ` zzaba
2021-08-11 11:11 ` [PR PATCH] [Updated] " zzaba
2021-08-11 16:16 ` zzaba
2021-08-13 20:44 ` zzaba
2022-06-01  2:15 ` github-actions
2022-06-15  2:16 ` [PR PATCH] [Closed]: " github-actions

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=20210809211649.k1czdT5BvovywBSALvvrlLfy0ufOrtA8TlCyb6GwO6Y@z \
    --to=zzaba@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).