Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 408503 - dev-python/isodate-0.4.7 new ebuild
Summary: dev-python/isodate-0.4.7 new ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 401657
  Show dependency tree
 
Reported: 2012-03-16 14:21 UTC by Ian Delaney (RETIRED)
Modified: 2012-05-04 08:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild isodate-0.4.7.ebuild (isodate-0.4.7.ebuild,753 bytes, text/plain)
2012-03-16 14:21 UTC, Ian Delaney (RETIRED)
Details
revised ebuild patch (isodate-0.4.7.ebuild,740 bytes, patch)
2012-03-17 07:39 UTC, Ian Delaney (RETIRED)
Details | Diff
revised patch (isodate-0.4.7.ebuild,711 bytes, patch)
2012-05-03 12:28 UTC, Ian Delaney (RETIRED)
Details | Diff
revised ebuild again (isodate-0.4.7.ebuild,705 bytes, patch)
2012-05-03 14:08 UTC, Ian Delaney (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Delaney (RETIRED) gentoo-dev 2012-03-16 14:21:51 UTC
Created attachment 305629 [details]
ebuild isodate-0.4.7.ebuild

A new ebuild for consideration by the python team;

DESCRIPTION="An ISO 8601 date/time/duration parser and formater"
HOMEPAGE="http://pypi.python.org/pypi/isodate"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"

It is a new dependency package for the bumped version of 
dev-pytho/rdflib (3.2.0)

gentoo64 isodate # USE_PYTHON="2.5 2.6 2.7 3.1 3.2" ebuild isodate-0.4.7.ebuild clean merge

 * Compilation and optimization of Python modules for CPython 2.5        [ ok ]
 * Compilation and optimization of Python modules for CPython 2.6        [ ok ]
 * Compilation and optimization of Python modules for CPython 2.7        [ ok ]
 * Compilation and optimization of Python modules for CPython 3.1        [ ok ]
 * Compilation and optimization of Python modules for CPython 3.2        [ ok ]


gentoo64 isodate # USE_PYTHON="2.7 3.2" ebuild isodate-0.4.7.ebuild clean test
---------------------------------------------------------------------

 * Testing of dev-python/isodate-0.4.7 with CPython 2.7...
PYTHONPATH=build-2.7/lib python2.7 setup.py build -b build-2.7 test

Ran 238 tests in 0.040s

OK
 * Testing of dev-python/isodate-0.4.7 with CPython 3.2...
PYTHONPATH=build-3.2/lib python3.2 setup.py build -b build-3.2 test
----------------------------------------------------------------------
Ran 238 tests in 0.040s

OK

Taken and adjusted to gx86 from progress overlay.
Comment 1 Arfrever Frehtes Taifersar Arahesis 2012-03-16 22:45:52 UTC
- There is small number of failing tests with Jython and older versions
  of CPython, so PYTHON_TESTS_FAILURES_TOLERANT_ABIS shouldn't be removed.
- You shouldn't change RDEPEND.
- You shouldn't add such a useless src_prepare().

Ebuild of this package can be copied to gentoo-x86 (under GPL-2 or GPL-3), but I don't cede exclusive copyright on ebuild.
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2012-03-17 07:39:34 UTC
Created attachment 305675 [details, diff]
revised ebuild patch

roger Arfrever. thanks, done.

What does PYTHON_TESTS_FAILURES_TOLERANT_ABIS="2.5 2.6 3.1 *-jython" do exactly?

gentoo64 isodate # FEATURES=test USE_PYTHON="2.6 2.7 3.1 3.2" ebuild isodate-0.4.7.ebuild clean test

FAILED (failures=2)
 * ERROR: dev-python/isodate-0.4.7 failed (test phase):
 *   Testing failed with CPython 2.6 in distutils_testing() function

I thought RDEPEND="${DEPEND}" was demanded by repoman full in EAPI4.
The src_prepare(), yep removed.
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2012-05-03 12:28:37 UTC
Created attachment 310693 [details, diff]
revised patch
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2012-05-03 14:08:29 UTC
Created attachment 310695 [details, diff]
revised ebuild again

swapped to std version; FAILURE_TOLERANT_PYTHON_ABIS=
Comment 5 Mike Gilbert gentoo-dev 2012-05-03 17:52:37 UTC
I have marked obsolete ebuilds that are derived from Arfrever's progress overlay without the copyright attribution that Arfrever requires.
Comment 6 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-05-04 08:53:25 UTC
+*isodate-0.4.7 (04 May 2012)
+
+  04 May 2012; Kacper Kowalik <xarthisius@gentoo.org> +isodate-0.4.7.ebuild,
+  +metadata.xml:
+  Initial import, ebuild written by me. Fixes #408503 by Ian Delaney
+  <johneed@hotmail.com>
+