trinity: adding version 2.15.1 (#37076)
This commit is contained in:
		
							
								
								
									
										11
									
								
								var/spack/repos/builtin/packages/trinity/2.15.1.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								var/spack/repos/builtin/packages/trinity/2.15.1.patch
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
				
			|||||||
 | 
					--- a/trinity-plugins/bamsifter/sift_bam_max_cov.cpp      2023-02-05 18:46:28.000000000 +0000
 | 
				
			||||||
 | 
					+++ b/trinity-plugins/bamsifter/sift_bam_max_cov.cpp      2023-04-20 22:25:49.785300259 +0000
 | 
				
			||||||
 | 
					@@ -2,7 +2,7 @@
 | 
				
			||||||
 | 
					 #include <stdio.h>
 | 
				
			||||||
 | 
					 // #include <unistd.h>
 | 
				
			||||||
 | 
					 #include <stdlib.h>
 | 
				
			||||||
 | 
					-#include <string.h>
 | 
				
			||||||
 | 
					+#include <string>
 | 
				
			||||||
 | 
					 #include <cstring>
 | 
				
			||||||
 | 
					 #include <getopt.h>
 | 
				
			||||||
 | 
					 #include <stdint.h>
 | 
				
			||||||
@@ -22,6 +22,11 @@ class Trinity(MakefilePackage):
 | 
				
			|||||||
    homepage = "https://trinityrnaseq.github.io/"
 | 
					    homepage = "https://trinityrnaseq.github.io/"
 | 
				
			||||||
    url = "https://github.com/trinityrnaseq/trinityrnaseq/archive/Trinity-v2.6.6.tar.gz"
 | 
					    url = "https://github.com/trinityrnaseq/trinityrnaseq/archive/Trinity-v2.6.6.tar.gz"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    version(
 | 
				
			||||||
 | 
					        "2.15.1.FULL",
 | 
				
			||||||
 | 
					        sha256="ba37e5f696d3d54e8749c4ba439901a3e97e14a4314a5229d7a069ad7b1ee580",
 | 
				
			||||||
 | 
					        url="https://github.com/trinityrnaseq/trinityrnaseq/releases/download/Trinity-v2.15.1/trinityrnaseq-v2.15.1.FULL.tar.gz",
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
    version(
 | 
					    version(
 | 
				
			||||||
        "2.15.0.FULL",
 | 
					        "2.15.0.FULL",
 | 
				
			||||||
        sha256="d67de43e535e1173be75de98dcfbdab0bf67f814c9e465a44dfd056cefeb529d",
 | 
					        sha256="d67de43e535e1173be75de98dcfbdab0bf67f814c9e465a44dfd056cefeb529d",
 | 
				
			||||||
@@ -87,6 +92,8 @@ class Trinity(MakefilePackage):
 | 
				
			|||||||
    depends_on("r-argparse", type="run")
 | 
					    depends_on("r-argparse", type="run")
 | 
				
			||||||
    depends_on("r-sm", type="run")
 | 
					    depends_on("r-sm", type="run")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    patch("2.15.1.patch", when="@2.15.1.FULL")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def build(self, spec, prefix):
 | 
					    def build(self, spec, prefix):
 | 
				
			||||||
        make()
 | 
					        make()
 | 
				
			||||||
        make("trinity_essentials")
 | 
					        make("trinity_essentials")
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user