* [gentoo-commits] gentoo-x86 commit in sci-astronomy/pyephem: pyephem-3.7.5.1.ebuild ChangeLog
@ 2012-08-05 19:18 Sebastien Fabbro (bicatali)
0 siblings, 0 replies; 4+ messages in thread
From: Sebastien Fabbro (bicatali) @ 2012-08-05 19:18 UTC (permalink / raw
To: gentoo-commits
bicatali 12/08/05 19:18:28
Modified: pyephem-3.7.5.1.ebuild ChangeLog
Log:
keyword amd64-linux, x86-linux, switch to EAPI4
(Portage version: 2.2.01.20796-prefix/cvs/Linux x86_64)
Revision Changes Path
1.3 sci-astronomy/pyephem/pyephem-3.7.5.1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.5.1.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.5.1.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.5.1.ebuild?r1=1.2&r2=1.3
Index: pyephem-3.7.5.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.5.1.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- pyephem-3.7.5.1.ebuild 25 Feb 2012 02:47:03 -0000 1.2
+++ pyephem-3.7.5.1.ebuild 5 Aug 2012 19:18:28 -0000 1.3
@@ -1,8 +1,8 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.5.1.ebuild,v 1.2 2012/02/25 02:47:03 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.5.1.ebuild,v 1.3 2012/08/05 19:18:28 bicatali Exp $
-EAPI="3"
+EAPI=4
PYTHON_DEPEND="2:2.5"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.4 3.* *-jython 2.7-pypy-*"
@@ -15,14 +15,14 @@
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
IUSE="doc"
RDEPEND=""
DEPEND="doc? ( dev-python/sphinx )"
src_prepare() {
# don't install rst files
- sed -i -e "s:'doc/\*\.rst',::" "${S}"/setup.py || die
+ sed -i -e "s:'doc/\*\.rst',::" setup.py || die
distutils_src_prepare
}
@@ -30,13 +30,11 @@
distutils_src_compile
if use doc; then
cd src/ephem/doc
- PYTHONPATH=../../.. emake html || die "Building of documentation failed"
+ PYTHONPATH=../../.. emake html
fi
}
src_install() {
distutils_src_install
- if use doc; then
- dohtml -r src/ephem/doc/.build/html/* || die "Installation of documentation failed"
- fi
+ use doc && dohtml -r src/ephem/doc/.build/html/*
}
1.17 sci-astronomy/pyephem/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/ChangeLog?rev=1.17&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/ChangeLog?rev=1.17&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/ChangeLog?r1=1.16&r2=1.17
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/ChangeLog,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- ChangeLog 25 Feb 2012 02:47:03 -0000 1.16
+++ ChangeLog 5 Aug 2012 19:18:28 -0000 1.17
@@ -1,6 +1,9 @@
# ChangeLog for sci-astronomy/pyephem
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/ChangeLog,v 1.16 2012/02/25 02:47:03 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/ChangeLog,v 1.17 2012/08/05 19:18:28 bicatali Exp $
+
+ 05 Aug 2012; Sébastien Fabbro <bicatali@gentoo.org> pyephem-3.7.5.1.ebuild:
+ keyword amd64-linux, x86-linux, switch to EAPI4
25 Feb 2012; Patrick Lauer <patrick@gentoo.org> pyephem-3.7.4.1.ebuild,
pyephem-3.7.5.1.ebuild:
@@ -82,4 +85,3 @@
+pyephem-3.7b.ebuild:
Initial import (fixes bug #67489). Many thanks to Tim Cera
<timcera@earthlink.net> for his ebuild.
-
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sci-astronomy/pyephem: pyephem-3.7.5.1.ebuild ChangeLog
@ 2012-11-19 7:38 Kacper Kowalik (xarthisius)
0 siblings, 0 replies; 4+ messages in thread
From: Kacper Kowalik (xarthisius) @ 2012-11-19 7:38 UTC (permalink / raw
To: gentoo-commits
xarthisius 12/11/19 07:38:41
Modified: pyephem-3.7.5.1.ebuild ChangeLog
Log:
Drop inherit of eutils.eclass, introduce new dependencies for tests, simplify doc_compile, run tests, fix doc install path wrt #443876 by Diego Elio Pettenò <flameeyes@gentoo.org>, don't install tests
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 0x5D21B852895192F9)
Revision Changes Path
1.4 sci-astronomy/pyephem/pyephem-3.7.5.1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.5.1.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.5.1.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.5.1.ebuild?r1=1.3&r2=1.4
Index: pyephem-3.7.5.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.5.1.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- pyephem-3.7.5.1.ebuild 5 Aug 2012 19:18:28 -0000 1.3
+++ pyephem-3.7.5.1.ebuild 19 Nov 2012 07:38:41 -0000 1.4
@@ -1,24 +1,29 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.5.1.ebuild,v 1.3 2012/08/05 19:18:28 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.5.1.ebuild,v 1.4 2012/11/19 07:38:41 xarthisius Exp $
EAPI=4
+
PYTHON_DEPEND="2:2.5"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.4 3.* *-jython 2.7-pypy-*"
-inherit distutils eutils
+inherit distutils
DESCRIPTION="Astronomical routines for the python programming language"
-LICENSE="LGPL-3"
HOMEPAGE="http://rhodesmill.org/pyephem/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
IUSE="doc"
+
+DEPEND="doc? ( dev-python/sphinx )
+ test? ( || ( dev-lang/python:2.7 dev-python/unittest2 ) )"
RDEPEND=""
-DEPEND="doc? ( dev-python/sphinx )"
+
+PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
src_prepare() {
# don't install rst files
@@ -29,12 +34,29 @@
src_compile() {
distutils_src_compile
if use doc; then
- cd src/ephem/doc
- PYTHONPATH=../../.. emake html
+ PYTHONPATH=. emake -C src/ephem/doc html
fi
}
+src_test() {
+ testing() {
+ if [[ ${PYTHON_ABI} == "2.7" ]]; then
+ PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib*)" \
+ "$(PYTHON)" -m unittest discover -s src/ephem
+ else
+ PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib*)" \
+ unit2-${PYTHON_ABI} discover -s src/ephem
+ fi
+ }
+ python_execute_function testing
+}
+
src_install() {
distutils_src_install
- use doc && dohtml -r src/ephem/doc/.build/html/*
+ use doc && dohtml -r src/ephem/doc/_build/html/*
+
+ delete_tests() {
+ rm -rf "${ED}$(python_get_sitedir)/ephem/tests"
+ }
+ python_execute_function -q delete_tests
}
1.19 sci-astronomy/pyephem/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/ChangeLog?rev=1.19&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/ChangeLog?rev=1.19&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/ChangeLog?r1=1.18&r2=1.19
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/ChangeLog,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- ChangeLog 5 Aug 2012 19:20:35 -0000 1.18
+++ ChangeLog 19 Nov 2012 07:38:41 -0000 1.19
@@ -1,6 +1,11 @@
# ChangeLog for sci-astronomy/pyephem
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/ChangeLog,v 1.18 2012/08/05 19:20:35 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/ChangeLog,v 1.19 2012/11/19 07:38:41 xarthisius Exp $
+
+ 19 Nov 2012; Kacper Kowalik <xarthisius@gentoo.org> pyephem-3.7.5.1.ebuild:
+ Drop inherit of eutils.eclass, introduce new dependencies for tests, simplify
+ doc_compile, run tests, fix doc install path wrt #443876 by Diego Elio Pettenò
+ <flameeyes@gentoo.org>, don't install tests
05 Aug 2012; Sébastien Fabbro <bicatali@gentoo.org> -pyephem-3.7.4.1.ebuild,
metadata.xml:
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sci-astronomy/pyephem: pyephem-3.7.5.1.ebuild ChangeLog
@ 2013-06-12 16:29 Sebastien Fabbro (bicatali)
0 siblings, 0 replies; 4+ messages in thread
From: Sebastien Fabbro (bicatali) @ 2013-06-12 16:29 UTC (permalink / raw
To: gentoo-commits
bicatali 13/06/12 16:29:34
Modified: pyephem-3.7.5.1.ebuild ChangeLog
Log:
Switch to EAPI5
(Portage version: 2.2.01.21938-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Revision Changes Path
1.5 sci-astronomy/pyephem/pyephem-3.7.5.1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.5.1.ebuild?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.5.1.ebuild?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.5.1.ebuild?r1=1.4&r2=1.5
Index: pyephem-3.7.5.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.5.1.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- pyephem-3.7.5.1.ebuild 19 Nov 2012 07:38:41 -0000 1.4
+++ pyephem-3.7.5.1.ebuild 12 Jun 2013 16:29:33 -0000 1.5
@@ -1,14 +1,12 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.5.1.ebuild,v 1.4 2012/11/19 07:38:41 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.5.1.ebuild,v 1.5 2013/06/12 16:29:33 bicatali Exp $
-EAPI=4
+EAPI=5
-PYTHON_DEPEND="2:2.5"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="2.4 3.* *-jython 2.7-pypy-*"
+PYTHON_COMPAT=( python2_{5,6,7} )
-inherit distutils
+inherit distutils-r1
DESCRIPTION="Astronomical routines for the python programming language"
HOMEPAGE="http://rhodesmill.org/pyephem/"
@@ -17,46 +15,42 @@
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc"
+IUSE="doc test"
-DEPEND="doc? ( dev-python/sphinx )
- test? ( || ( dev-lang/python:2.7 dev-python/unittest2 ) )"
+DEPEND="
+ doc? ( dev-python/sphinx )
+ test? ( virtual/python-unittest2[${PYTHON_USEDEP}] )"
RDEPEND=""
-PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
-
src_prepare() {
# don't install rst files
sed -i -e "s:'doc/\*\.rst',::" setup.py || die
- distutils_src_prepare
+ distutils-r1_src_prepare
}
src_compile() {
- distutils_src_compile
+ distutils-r1_src_compile
if use doc; then
PYTHONPATH=. emake -C src/ephem/doc html
fi
}
-src_test() {
- testing() {
- if [[ ${PYTHON_ABI} == "2.7" ]]; then
- PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib*)" \
- "$(PYTHON)" -m unittest discover -s src/ephem
- else
- PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib*)" \
- unit2-${PYTHON_ABI} discover -s src/ephem
- fi
- }
- python_execute_function testing
+python_test() {
+ if [[ ${PYTHON_ABI} == "2.7" ]]; then
+ PYTHONPATH="$(ls -d ${BUILD_DIR}/lib*)" \
+ ${EPYTHON} -m unittest discover -s src/ephem
+ else
+ PYTHONPATH="$(ls -d ${BUILD_DIR}/lib*)" \
+ unit2 discover -s src/ephem
+ fi
}
src_install() {
- distutils_src_install
+ distutils-r1_src_install
use doc && dohtml -r src/ephem/doc/_build/html/*
delete_tests() {
- rm -rf "${ED}$(python_get_sitedir)/ephem/tests"
+ rm -r "${D}$(python_get_sitedir)/ephem/tests" || die
}
- python_execute_function -q delete_tests
+ python_foreach_impl delete_tests
}
1.20 sci-astronomy/pyephem/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/ChangeLog?rev=1.20&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/ChangeLog?rev=1.20&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/ChangeLog?r1=1.19&r2=1.20
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/ChangeLog,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- ChangeLog 19 Nov 2012 07:38:41 -0000 1.19
+++ ChangeLog 12 Jun 2013 16:29:33 -0000 1.20
@@ -1,6 +1,9 @@
# ChangeLog for sci-astronomy/pyephem
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/ChangeLog,v 1.19 2012/11/19 07:38:41 xarthisius Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/ChangeLog,v 1.20 2013/06/12 16:29:33 bicatali Exp $
+
+ 12 Jun 2013; Sébastien Fabbro <bicatali@gentoo.org> pyephem-3.7.5.1.ebuild:
+ Switch to EAPI5
19 Nov 2012; Kacper Kowalik <xarthisius@gentoo.org> pyephem-3.7.5.1.ebuild:
Drop inherit of eutils.eclass, introduce new dependencies for tests, simplify
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sci-astronomy/pyephem: pyephem-3.7.5.1.ebuild ChangeLog
@ 2013-09-05 19:44 Michal Gorny (mgorny)
0 siblings, 0 replies; 4+ messages in thread
From: Michal Gorny (mgorny) @ 2013-09-05 19:44 UTC (permalink / raw
To: gentoo-commits
mgorny 13/09/05 19:44:45
Modified: pyephem-3.7.5.1.ebuild ChangeLog
Log:
Clean up PYTHON_COMPAT from old implementations.
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Revision Changes Path
1.6 sci-astronomy/pyephem/pyephem-3.7.5.1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.5.1.ebuild?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.5.1.ebuild?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.5.1.ebuild?r1=1.5&r2=1.6
Index: pyephem-3.7.5.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.5.1.ebuild,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- pyephem-3.7.5.1.ebuild 12 Jun 2013 16:29:33 -0000 1.5
+++ pyephem-3.7.5.1.ebuild 5 Sep 2013 19:44:45 -0000 1.6
@@ -1,10 +1,10 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.5.1.ebuild,v 1.5 2013/06/12 16:29:33 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.5.1.ebuild,v 1.6 2013/09/05 19:44:45 mgorny Exp $
EAPI=5
-PYTHON_COMPAT=( python2_{5,6,7} )
+PYTHON_COMPAT=( python2_{6,7} )
inherit distutils-r1
1.21 sci-astronomy/pyephem/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/ChangeLog?rev=1.21&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/ChangeLog?rev=1.21&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/ChangeLog?r1=1.20&r2=1.21
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/ChangeLog,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- ChangeLog 12 Jun 2013 16:29:33 -0000 1.20
+++ ChangeLog 5 Sep 2013 19:44:45 -0000 1.21
@@ -1,6 +1,9 @@
# ChangeLog for sci-astronomy/pyephem
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/ChangeLog,v 1.20 2013/06/12 16:29:33 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/ChangeLog,v 1.21 2013/09/05 19:44:45 mgorny Exp $
+
+ 05 Sep 2013; Michał Górny <mgorny@gentoo.org> pyephem-3.7.5.1.ebuild:
+ Clean up PYTHON_COMPAT from old implementations.
12 Jun 2013; Sébastien Fabbro <bicatali@gentoo.org> pyephem-3.7.5.1.ebuild:
Switch to EAPI5
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-09-05 19:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-05 19:44 [gentoo-commits] gentoo-x86 commit in sci-astronomy/pyephem: pyephem-3.7.5.1.ebuild ChangeLog Michal Gorny (mgorny)
-- strict thread matches above, loose matches on Subject: below --
2013-06-12 16:29 Sebastien Fabbro (bicatali)
2012-11-19 7:38 Kacper Kowalik (xarthisius)
2012-08-05 19:18 Sebastien Fabbro (bicatali)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox