This is an ebuild request for PyICU, a Python extension wrapping IBM's International Components for Unicode C++ library (ICU).
Can you give examples of applications that depend on PyICU? Normally libraries will not be pulled into the official gentoo tree until they are used by one or more applications that also seem deserving of inclusion. If you need PyICU for local development work, a better bet would be to post a request at the gentoo forums or ask in #gentoo-sunrise irc channel where ebuild writers are likely to hang out. http://www.gentoo.org/proj/en/sunrise/
PyICU appears to be needed by Chandler, bug 77914. I figured it should be packaged separately, probably by someone who has packaged a python package before.
I made an ebuild and posted it here: http://bazaar.launchpad.net/%7Ebberberov/%2Bjunk/dev-overlay/files/2?file_id=pyicu-20081001162032-mij414teo0yk8yb0-14
Updated link: http://bazaar.launchpad.net/~bberberov/%2Bjunk/dev-overlay/files/head%3A/dev-python/pyicu/
*** Bug 258899 has been marked as a duplicate of this bug. ***
I updated the ebuild. I added epydoc generation and src_test().
This is also available in the sunrise overlay: http://overlays.gentoo.org/proj/sunrise/browser/reviewed/dev-python/pyicu
Created attachment 251611 [details] pyicu-1.0.1.ebuild
I just committed a new ebuild for PyICU 1.1 to sunrise. Once it gets reviewed, you can use layman to install it or have a look online at http://overlays.gentoo.org/proj/sunrise/browser/reviewed/dev-python/pyicu The new ebuild supports multiple python ABIs and addresses a large number of gcc warnings. The gcc warnings I reported upstream as https://bugzilla.osafoundation.org/show_bug.cgi?id=13009
Requested by app-misc/gramps-3.4.3: $ gramps 2014-09-30 19:23:52.059: WARNING: Utils.py: line 318: PyICU not available: sorting may be incorrect
Created attachment 390142 [details] pyicu-1.5 from sunrise failed to compile
I comitted a bump to PyICU 1.8 on 27 August 2014, but it seems as if no commits have been reviewed since 1 June, so my ebuild isn't available from the reviewed sunrise overlay which layman uses. And I don't know whether you can get read-only access to the unreviewed one without having commit privileges. So here are the changes I did when bumping the ebuild. Just cosmetic stuff, and dropping support for python 2.6. Rename the ebuild and apply this patch, digest it and you should be good. Let me know if you experience any problems with 1.8 as well. --- a/dev-python/pyicu/pyicu-1.5.ebuild +++ b/dev-python/pyicu/pyicu-1.8.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=5 -PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) +PYTHON_COMPAT=( python{2_7,3_2,3_3} ) DISTUTILS_IN_SOURCE_BUILD=1 # setup.py applies 2to3 to tests inherit distutils-r1 @@ -24,10 +24,6 @@ RDEPEND="dev-libs/icu" DEPEND="${RDEPEND} doc? ( dev-python/epydoc )" -PATCHES=( - "${FILESDIR}/${P}-testPre27.patch" -) - S="${WORKDIR}/${MY_P}" DOCS=(CHANGES CREDITS README)
Thanks a lot - works now perfectly :)
Hello, everyone. It seems that at least one ebuild related to this bug exists in the Sunrise overlay at the moment. However, I have to regretfully announce that after a long inactivity period the Sunrise project has been discontinued and the related overlay will be eventually removed. For this reason, I'd like to ask you to reevaluate the ebuilds and consider moving them. If you'd like to maintain a package from Sunrise in Gentoo, please take a look at our Proxy Maintainers [1] project. Please make sure to take ebuilds from the unreviewed developer Sunrise repository [2] rather than the -reviewed one, since the latter has not been updated for over a year. While at it, please note that: 1. Adding a package to Gentoo requires declaring yourself as an active maintainer for it. All bugs regarding the package will be assigned to you, and you will be expected to maintain it. 2. Some packages may not be suitable for addition anymore. While there's no strong rules that would prevent you from adding a package, it may be a bad idea to add old-unmaintained packages that will shortly result in a large number of bugs reported with no solution. If that is the case, please close the bug as RESOLVED/OBSOLETE to make it easier to find packages worth adding. 3. Some of the bugs were already closed as WONTFIX/OBSOLETE/... while the relevant ebuild was kept in Sunrise. If you disagree with the original decision, you still can add the ebuild via proxy-maint. 4. Pleaes note that many of the Sunrise ebuilds are old and may be buggy. If you decide to move them, please make sure to update/clean them up. The proxy-maint team will also review your ebuilds, therefore making sure they land in Gentoo in good quality. Once again, thank you for your contribution. We hope that you will still want to contribute to Gentoo, through proxy-maint or otherwise. [1]:https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers [2]:https://gitweb.gentoo.org/proj/sunrise.git/
Okay, let's get this show on the road. I'll take it.