summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorclintval2017-12-19 12:39:00 -0500
committerclintval2017-12-19 12:39:00 -0500
commit883946c424b7f14ef45e92f26c742a005dcf3083 (patch)
tree793a2199bd7594cc3d4b7abaaf2b45965d816faf /PKGBUILD
downloadaur-883946c424b7f14ef45e92f26c742a005dcf3083.tar.gz
First commit with PKGBUILD and .SRCINFO
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..49a2f415859
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Clint Valentine <valentine.clint@gmail.com>
+
+pkgname='python-pybedtools'
+pkgver=0.7.10.r21.g7143a86
+pkgrel=1
+pkgdesc="Python wrapper for Aaron Quinlan's bedtools."
+arch=('any')
+url="http://daler.github.io/pybedtools"
+license=('GPL2')
+depends=(
+ 'python'
+ 'python-numpy'
+ 'python-pandas'
+ 'python-pysam>=0.8.1'
+ 'python-six')
+makedepends=('cython' 'python-setuptools')
+optdepends=(
+ 'bedtools: more-or-less required by namesake'
+ 'htslib: for working with SAM/BAM/CRAM files'
+ 'python-matplotlib: for plotting genomic intervals'
+ 'ucsc-kent-genome-tools: for bedgraph to bigwig conversions')
+provides=('python-pybedtools')
+conflicts=('python-pybedtools')
+options=(!emptydirs)
+source=("git+https://github.com/daler/pybedtools.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "pybedtools"
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | sed s'/v//'
+}
+
+package() {
+ cd "${srcdir}/pybedtools"
+ python setup.py install --root="${pkgdir}/" --optimize=1
+}