gnu: pbtranscript-tofu: Delete pre-built libraries.
* gnu/packages/bioinformatics.scm (pbtranscript-tofu)[arguments]: Delete "build" directory and any shared objects after unpacking.
This commit is contained in:
		
							parent
							
								
									32f77c0445
								
							
						
					
					
						commit
						49261e45d8
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
					@ -750,15 +750,18 @@ files and writing bioinformatics applications.")
 | 
				
			||||||
            (chdir "pbtranscript-tofu/pbtranscript/")
 | 
					            (chdir "pbtranscript-tofu/pbtranscript/")
 | 
				
			||||||
            ;; Delete clutter
 | 
					            ;; Delete clutter
 | 
				
			||||||
            (delete-file-recursively "dist/")
 | 
					            (delete-file-recursively "dist/")
 | 
				
			||||||
 | 
					            (delete-file-recursively "build/")
 | 
				
			||||||
            (delete-file-recursively "setuptools_cython-0.2.1-py2.6.egg/")
 | 
					            (delete-file-recursively "setuptools_cython-0.2.1-py2.6.egg/")
 | 
				
			||||||
            (delete-file-recursively "pbtools.pbtranscript.egg-info")
 | 
					            (delete-file-recursively "pbtools.pbtranscript.egg-info")
 | 
				
			||||||
            (delete-file "Cython-0.20.1.tar.gz")
 | 
					            (delete-file "Cython-0.20.1.tar.gz")
 | 
				
			||||||
            (delete-file "setuptools_cython-0.2.1-py2.7.egg")
 | 
					            (delete-file "setuptools_cython-0.2.1-py2.7.egg")
 | 
				
			||||||
            (delete-file "setuptools_cython-0.2.1.tar.gz")
 | 
					            (delete-file "setuptools_cython-0.2.1.tar.gz")
 | 
				
			||||||
            (delete-file "setup.cfg")
 | 
					            (delete-file "setup.cfg")
 | 
				
			||||||
 | 
					            (for-each delete-file
 | 
				
			||||||
 | 
					                      (find-files "." "\\.so$"))
 | 
				
			||||||
            ;; files should be writable for install phase
 | 
					            ;; files should be writable for install phase
 | 
				
			||||||
            (for-each (lambda (f) (chmod f #o755))
 | 
					            (for-each (lambda (f) (chmod f #o755))
 | 
				
			||||||
                      (find-files "." "\\.py")))
 | 
					                      (find-files "." "\\.py$")))
 | 
				
			||||||
          %standard-phases)))
 | 
					          %standard-phases)))
 | 
				
			||||||
      (inputs
 | 
					      (inputs
 | 
				
			||||||
       `(("python-cython" ,python2-cython)
 | 
					       `(("python-cython" ,python2-cython)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue