Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237888 - dev-python/pyicu-1.9.3: new package
Summary: dev-python/pyicu-1.9.3: new package
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: Marek Szuba
URL: http://pypi.python.org/pypi/PyICU/
Whiteboard:
Keywords: EBUILD
: 258899 (view as bug list)
Depends on:
Blocks: 371324
  Show dependency tree
 
Reported: 2008-09-16 23:08 UTC by Boian Berberov
Modified: 2016-08-10 15:12 UTC (History)
6 users (show)

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


Attachments
pyicu-1.0.1.ebuild (pyicu-1.0.1.ebuild,968 bytes, text/plain)
2010-10-22 16:39 UTC, Dmitry S. Kulyabov
Details
pyicu-1.5 from sunrise failed to compile (pyicu-1.5_failed.txt,19.84 KB, text/plain)
2014-11-23 17:40 UTC, balrok
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Boian Berberov 2008-09-16 23:08:34 UTC
This is an ebuild request for PyICU, a Python extension wrapping IBM's International Components for Unicode C++ library (ICU).
Comment 1 Wormo (RETIRED) gentoo-dev 2008-09-17 01:08:27 UTC
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/
Comment 2 Boian Berberov 2008-09-17 13:24:55 UTC
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.
Comment 5 Jacob Floyd 2009-02-19 06:49:44 UTC
*** Bug 258899 has been marked as a duplicate of this bug. ***
Comment 6 Boian Berberov 2009-02-24 22:38:03 UTC
I updated the ebuild.  I added epydoc generation and src_test().
Comment 7 Jacob Floyd 2009-04-09 19:35:46 UTC
This is also available in the sunrise overlay:
http://overlays.gentoo.org/proj/sunrise/browser/reviewed/dev-python/pyicu
Comment 8 Dmitry S. Kulyabov 2010-10-22 16:39:07 UTC
Created attachment 251611 [details]
pyicu-1.0.1.ebuild
Comment 9 Martin von Gagern 2011-02-12 11:35:06 UTC
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
Comment 10 Chris Mayo 2014-09-30 18:24:44 UTC
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
Comment 11 balrok 2014-11-23 17:40:35 UTC
Created attachment 390142 [details]
pyicu-1.5 from sunrise failed to compile
Comment 12 Martin von Gagern 2014-11-23 20:56:38 UTC
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)
Comment 13 balrok 2014-11-23 21:23:33 UTC
Thanks a lot - works now perfectly :)
Comment 14 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-06-08 16:47:17 UTC
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/
Comment 15 Marek Szuba archtester gentoo-dev 2016-08-10 15:12:16 UTC
Okay, let's get this show on the road. I'll take it.