pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/biology/kallisto



Module Name:    pkgsrc
Committed By:   bacon
Date:           Sun Feb 27 01:57:27 UTC 2022

Modified Files:
        pkgsrc/biology/kallisto: Makefile PLIST distinfo
Added Files:
        pkgsrc/biology/kallisto/patches: patch-CMakeLists.txt
            patch-src_CMakeLists.txt patch-src_kseq.h

Log Message:
biology/kallisto: Update to 0.48.0

Long awaited bug fix release
Also unbundled htslib
Changes: https://github.com/pachterlab/kallisto/tags


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/biology/kallisto/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/biology/kallisto/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/biology/kallisto/distinfo
cvs rdiff -u -r0 -r1.3 pkgsrc/biology/kallisto/patches/patch-CMakeLists.txt \
    pkgsrc/biology/kallisto/patches/patch-src_CMakeLists.txt
cvs rdiff -u -r0 -r1.1 pkgsrc/biology/kallisto/patches/patch-src_kseq.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/biology/kallisto/Makefile
diff -u pkgsrc/biology/kallisto/Makefile:1.3 pkgsrc/biology/kallisto/Makefile:1.4
--- pkgsrc/biology/kallisto/Makefile:1.3        Thu Jul 23 19:22:00 2020
+++ pkgsrc/biology/kallisto/Makefile    Sun Feb 27 01:57:27 2022
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2020/07/23 19:22:00 bacon Exp $
+# $NetBSD: Makefile,v 1.4 2022/02/27 01:57:27 bacon Exp $
 
-DISTNAME=      kallisto-0.46.1
+DISTNAME=      kallisto-0.48.0
 CATEGORIES=    biology
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=pachterlab/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -20,13 +20,13 @@ SUBST_FILES.test=   kallisto-test
 SUBST_SED.test=                -e 's|/usr/local/share/kallisto|${DATADIR}|g'
 
 CMAKE_ARGS+=           -DUSE_HDF5:BOOL=ON
-MAKE_JOBS_SAFE=                no      # Doesn't finished bundled htslib first
 INSTALLATION_DIRS+=    ${DATADIR}
 
 DATADIR=               ${PREFIX}/share/kallisto
 
 post-extract:
        ${CP} ${FILESDIR}/kallisto-test ${WRKSRC}
+       ${RM} -rf ${WRKSRC}/ext/htslib
 
 post-install:
        ${INSTALL_SCRIPT} ${WRKSRC}/kallisto-test ${DESTDIR}${PREFIX}/bin
@@ -35,4 +35,5 @@ post-install:
 .include "../../devel/hdf5/buildlink3.mk"
 .include "../../archivers/libaec/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
+.include "../../biology/htslib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/biology/kallisto/PLIST
diff -u pkgsrc/biology/kallisto/PLIST:1.2 pkgsrc/biology/kallisto/PLIST:1.3
--- pkgsrc/biology/kallisto/PLIST:1.2   Thu Jul 23 19:22:00 2020
+++ pkgsrc/biology/kallisto/PLIST       Sun Feb 27 01:57:27 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2020/07/23 19:22:00 bacon Exp $
+@comment $NetBSD: PLIST,v 1.3 2022/02/27 01:57:27 bacon Exp $
 bin/kallisto
 bin/kallisto-test
 share/kallisto/test/README.md
@@ -6,5 +6,7 @@ share/kallisto/test/Snakefile
 share/kallisto/test/chrom.txt
 share/kallisto/test/reads_1.fastq.gz
 share/kallisto/test/reads_2.fastq.gz
+share/kallisto/test/sc_reads_1.fastq.gz
+share/kallisto/test/sc_reads_2.fastq.gz
 share/kallisto/test/transcripts.fasta.gz
 share/kallisto/test/transcripts.gtf.gz

Index: pkgsrc/biology/kallisto/distinfo
diff -u pkgsrc/biology/kallisto/distinfo:1.4 pkgsrc/biology/kallisto/distinfo:1.5
--- pkgsrc/biology/kallisto/distinfo:1.4        Tue Oct 26 10:03:40 2021
+++ pkgsrc/biology/kallisto/distinfo    Sun Feb 27 01:57:27 2022
@@ -1,5 +1,8 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:03:40 nia Exp $
+$NetBSD: distinfo,v 1.5 2022/02/27 01:57:27 bacon Exp $
 
-BLAKE2s (kallisto-0.46.1.tar.gz) = 8468937c3735b7bd476db90557b0fd590b65de46b6bc80a58387702b6c34d86a
-SHA512 (kallisto-0.46.1.tar.gz) = 53a4db8fd5e0585693d8cd683651b4bdcc84c724a19e80a6162f1844fd491eb2d4e3180be2d9aabea7d49c9cbe0a05250f41da7d1de89d5d6cb6a8806f1afb7d
-Size (kallisto-0.46.1.tar.gz) = 2254560 bytes
+BLAKE2s (kallisto-0.48.0.tar.gz) = c31cdd71591d4784e5b48560dd2c8ed19f8baa77317f0c05441a75f7deb39d64
+SHA512 (kallisto-0.48.0.tar.gz) = 6325660c18c98b591bfa0f293f55f13fa45b58acf86dead3b0c9cd88942c9d3dfa548cf0b8f05fb89697845b7047627b8fcdfba4237a5876463311a6f7127feb
+Size (kallisto-0.48.0.tar.gz) = 2706838 bytes
+SHA1 (patch-CMakeLists.txt) = 9c96f53ec2e280b7f778ae04b002783559730df7
+SHA1 (patch-src_CMakeLists.txt) = dde489a9299207d189d3f94b875bb1929c958897
+SHA1 (patch-src_kseq.h) = c35bca57fb85367e8646a4b771449da7dbfbb439

Added files:

Index: pkgsrc/biology/kallisto/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/biology/kallisto/patches/patch-CMakeLists.txt:1.3
--- /dev/null   Sun Feb 27 01:57:27 2022
+++ pkgsrc/biology/kallisto/patches/patch-CMakeLists.txt        Sun Feb 27 01:57:27 2022
@@ -0,0 +1,22 @@
+$NetBSD: patch-CMakeLists.txt,v 1.3 2022/02/27 01:57:27 bacon Exp $
+
+# Unbundle htslib
+
+--- CMakeLists.txt.orig        2022-02-26 16:36:13.527572702 +0000
++++ CMakeLists.txt
+@@ -43,15 +43,6 @@ ENDIF(LINK MATCHES static)
+ 
+ 
+ include(ExternalProject)
+-ExternalProject_Add(htslib
+-    PREFIX ${PROJECT_SOURCE_DIR}/ext/htslib
+-    SOURCE_DIR ${PROJECT_SOURCE_DIR}/ext/htslib
+-    BUILD_IN_SOURCE 1
+-    CONFIGURE_COMMAND autoheader && autoconf && ${PROJECT_SOURCE_DIR}/ext/htslib/configure 
+-        --prefix=${PREFIX} --disable-bz2 --disable-lzma --disable-libcurl
+-    BUILD_COMMAND make lib-static
+-    INSTALL_COMMAND ""
+-)
+ 
+ include_directories(${htslib_PREFIX}/src/htslib)
+ 
Index: pkgsrc/biology/kallisto/patches/patch-src_CMakeLists.txt
diff -u /dev/null pkgsrc/biology/kallisto/patches/patch-src_CMakeLists.txt:1.3
--- /dev/null   Sun Feb 27 01:57:27 2022
+++ pkgsrc/biology/kallisto/patches/patch-src_CMakeLists.txt    Sun Feb 27 01:57:27 2022
@@ -0,0 +1,30 @@
+$NetBSD: patch-src_CMakeLists.txt,v 1.3 2022/02/27 01:57:27 bacon Exp $
+
+# Unbundle htslib
+
+--- src/CMakeLists.txt.orig    2022-02-26 16:35:26.912550601 +0000
++++ src/CMakeLists.txt
+@@ -3,15 +3,13 @@ file(GLOB headers *.h *.hpp)
+ 
+ list(REMOVE_ITEM sources main.cpp)
+ 
+-include_directories(../ext/htslib)
+-
+ add_library(kallisto_core ${sources} ${headers})
+ target_include_directories(kallisto_core PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
+ 
+ add_executable(kallisto main.cpp)
+ 
+ find_package( Threads REQUIRED )
+-target_link_libraries(kallisto kallisto_core pthread ${CMAKE_CURRENT_SOURCE_DIR}/../ext/htslib/libhts.a)
++target_link_libraries(kallisto kallisto_core pthread hts)
+ 
+ if(LINK MATCHES static)
+     set(BUILD_SHARED_LIBS OFF)
+@@ -62,4 +60,4 @@ else()
+ endif(LINK MATCHES static)
+ 
+ 
+-install(TARGETS kallisto DESTINATION "${CMAKE_INSTALL_BINDIR}")
+\ No newline at end of file
++install(TARGETS kallisto DESTINATION "${CMAKE_INSTALL_BINDIR}")

Index: pkgsrc/biology/kallisto/patches/patch-src_kseq.h
diff -u /dev/null pkgsrc/biology/kallisto/patches/patch-src_kseq.h:1.1
--- /dev/null   Sun Feb 27 01:57:27 2022
+++ pkgsrc/biology/kallisto/patches/patch-src_kseq.h    Sun Feb 27 01:57:27 2022
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_kseq.h,v 1.1 2022/02/27 01:57:27 bacon Exp $
+
+# Unbundle htslib
+
+--- src/kseq.h.orig    2022-02-26 16:37:08.929391121 +0000
++++ src/kseq.h
+@@ -27,6 +27,8 @@ SOFTWARE.
+ #include <ctype.h>
+ #include <string.h>
+ #include <stdlib.h>
++// Prevent redefinition of kstring_t below
++#include <htslib/kstring.h>
+ 
+ #define KS_SEP_SPACE 0 // isspace(): \t, \n, \v, \f, \r
+ #define KS_SEP_TAB   1 // isspace() && !' '



Home | Main Index | Thread Index | Old Index