public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/khmer/
Date: Sat, 22 Mar 2014 09:45:08 +0000 (UTC)	[thread overview]
Message-ID: <1395481480.bd12b7ef927260f2ce1554ff4a627b68e57938af.jlec@gentoo> (raw)

commit:     bd12b7ef927260f2ce1554ff4a627b68e57938af
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 18 19:24:38 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Mar 22 09:44:40 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=bd12b7ef

sci-biology/khmer: Unbundle zlib and bzpi2; bump to disturils-r1; respect CFLAGS

Package-Manager: portage-2.2.8-r1

---
 sci-biology/khmer/ChangeLog         |  6 ++++++
 sci-biology/khmer/khmer-0.8.ebuild  | 38 +++++++++++++++++++++++++++++++++++++
 sci-biology/khmer/khmer-9999.ebuild | 21 ++++++++++++++++++--
 3 files changed, 63 insertions(+), 2 deletions(-)

diff --git a/sci-biology/khmer/ChangeLog b/sci-biology/khmer/ChangeLog
index 4f2f8a6..a2834e6 100644
--- a/sci-biology/khmer/ChangeLog
+++ b/sci-biology/khmer/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*khmer-0.8 (18 Mar 2014)
+
+  18 Mar 2014; Justin Lecher <jlec@gentoo.org> +khmer-0.8.ebuild,
+  khmer-9999.ebuild:
+  Unbundle zlib and bzpi2; bump to disturils-r1; respect CFLAGS
+
   16 Mar 2014; Martin Mokrejs <mmokrejs@fold.natur.cuni.cz> khmer-9999.ebuild:
   sci-biology/khmer: revert to distutils to obey sandbox violation
 

diff --git a/sci-biology/khmer/khmer-0.8.ebuild b/sci-biology/khmer/khmer-0.8.ebuild
new file mode 100644
index 0000000..7566b3c
--- /dev/null
+++ b/sci-biology/khmer/khmer-0.8.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="In-memory K-mer counting in DNA/RNA/protein sequences"
+HOMEPAGE="https://github.com/ged-lab/khmer"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS=" ~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+DEPEND=""
+RDEPEND="sci-biology/screed"
+
+python_prepare_all(){
+	rm -rf lib/{bzip2,zlib} || die
+
+	sed \
+		-e 's:zlib/zlib.h:zlib.h:g' \
+		-e 's:bzip2/bzlib.h:bzlib.h:g' \
+		-i lib/read_parsers.hh lib/counting.cc || die
+
+	sed \
+		-e "/extra_objects/d" \
+		-e '/libraries/s:, ]:, "z", "bz2", ]:g' \
+		-e "s:'-O3',::g" \
+		-i setup.py || die
+
+	distutils-r1_python_prepare_all
+}

diff --git a/sci-biology/khmer/khmer-9999.ebuild b/sci-biology/khmer/khmer-9999.ebuild
index ab29463..4ac1a8b 100644
--- a/sci-biology/khmer/khmer-9999.ebuild
+++ b/sci-biology/khmer/khmer-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=5
 
 PYTHON_COMPAT=( python2_7 )
 
-inherit distutils git-r3
+inherit distutils-r1 git-r3
 
 DESCRIPTION="In-memory K-mer counting in DNA/RNA/protein sequences"
 HOMEPAGE="https://github.com/ged-lab/khmer"
@@ -19,4 +19,21 @@ KEYWORDS=""
 IUSE=""
 
 DEPEND=""
-RDEPEND="${DEPEND}"
+RDEPEND="sci-biology/screed"
+
+python_prepare_all(){
+	rm -rf lib/{bzip2,zlib} || die
+
+	sed \
+		-e 's:zlib/zlib.h:zlib.h:g' \
+		-e 's:bzip2/bzlib.h:bzlib.h:g' \
+		-i lib/read_parsers.hh lib/counting.cc || die
+
+	sed \
+		-e "/extra_objects/d" \
+		-e '/libraries/s:, ]:, "z", "bz2", ]:g' \
+		-e "s:'-O3',::g" \
+		-i setup.py || die
+
+	distutils-r1_python_prepare_all
+}


             reply	other threads:[~2014-03-22  9:45 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-22  9:45 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-05-02 12:15 [gentoo-commits] proj/sci:master commit in: sci-biology/khmer/ Andrew Ammerlaan
2020-12-30 19:25 Aisha Tammy
2018-01-20 21:26 Martin Mokrejs
2017-07-28 20:05 Martin Mokrejs
2015-06-05 11:20 Justin Lecher
2014-05-15  7:21 Justin Lecher
2014-03-31 15:28 Nicolas Bock
2014-03-28 20:15 Martin Mokrejs
2014-03-24 15:28 Justin Lecher
2014-03-22  9:45 Justin Lecher
2014-03-22  9:45 Justin Lecher
2014-03-22  9:45 Justin Lecher
2014-03-20  9:04 Justin Lecher
2014-03-18 19:28 Justin Lecher
2014-03-16 18:27 Martin Mokrejs
2014-03-16 18:03 Martin Mokrejs

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=1395481480.bd12b7ef927260f2ce1554ff4a627b68e57938af.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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