Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64398 - New ebuild for python-dateutil-0.5
Summary: New ebuild for python-dateutil-0.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-17 06:52 UTC by Jeff Kowalczyk
Modified: 2006-09-21 09:19 UTC (History)
0 users

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


Attachments
New ebuild python-dateutil-0.5.ebuild (python-dateutil-0.5.ebuild,610 bytes, text/plain)
2004-09-17 06:54 UTC, Jeff Kowalczyk
Details
Updated SRC_URI, now works without manual download of source (python-dateutil-1.0.ebuild,491 bytes, text/plain)
2005-11-08 08:28 UTC, Jeff Kowalczyk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Kowalczyk 2004-09-17 06:52:43 UTC
The python-dateutil package (python sees it as 'import dateutil') is an advanced datetime math/logic library. The first dependency in software I've encountered is the Plone Calendaring component, so I thought it was time to add an ebuild.

The author's download URL is a complicated parameterized wiki location. wget does not download the result as python-dateutil-0.5.tar.bz2 correctly. I've asked the author about a simple download URL, but until then we'll have to mirror the file.

https://moin.conectiva.com.br/DateUtil?action=AttachFile&do=get&target=python-dateutil-0.5.tar.bz2

file python-dateutil-0.5.ebuild
-----------------------------------------------------------------
inherit distutils
#flag-o-matic

DESCRIPTION="dateutil datetime math and logic library for python"
HOMEPAGE="http://moin.conectiva.com.br/DateUtil"
SRC_URI="file://usr/portage/distfiles/${P}.tar.bz2"

LICENSE="GPL"
SLOT="0"
KEYWORDS="x86 ppc sparc mips alpha arm hppa ~amd64 ia64 ppc64 s390"
IUSE=""

DEPEND="virtual/python"

S="${WORKDIR}/${P}"

src_install() {
        distutils_src_install
}


Reproducible: Always
Steps to Reproduce:
Comment 1 Jeff Kowalczyk 2004-09-17 06:54:08 UTC
Created attachment 39756 [details]
New ebuild python-dateutil-0.5.ebuild
Comment 2 BORGULYA Gábor 2005-07-23 14:58:24 UTC
I successfully installed python-dateutil-1.0 (note the version number) using 
the above ebuild file. 
Thank you very much for providing it! -- G
Comment 3 BORGULYA Gábor 2005-07-23 14:58:24 UTC
I successfully installed python-dateutil-1.0 (note the version number) using 
the above ebuild file. 
Thank you very much for providing it! -- Gábor 
Comment 4 Jeff Kowalczyk 2005-11-08 08:28:59 UTC
Created attachment 72456 [details]
Updated SRC_URI, now works without manual download of source

Author moved the download location, now reachable by wget.
Comment 5 Jeff Kowalczyk 2005-11-08 08:36:18 UTC
P.S. This is a coming dependency of dev-zope/plone-calendaring (or similar),
(along with dev-python/icalendar http://bugs.gentoo.org/show_bug.cgi?id=111882),
so aside from general standalone usefulness, it would be good to get these into
portage. Thanks.
Comment 6 Marien Zwart (RETIRED) gentoo-dev 2005-11-24 13:17:14 UTC
Committed with some changes (removed keywords I couldn't test, changed license,
removed unnecessary S and src_install, added DOCS and src_test), closing. Thanks
for contributing the ebuild.