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:
Created attachment 39756 [details] New ebuild python-dateutil-0.5.ebuild
I successfully installed python-dateutil-1.0 (note the version number) using the above ebuild file. Thank you very much for providing it! -- G
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
Created attachment 72456 [details] Updated SRC_URI, now works without manual download of source Author moved the download location, now reachable by wget.
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.
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.