Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 338556 - dev-python/ropemode-0.1_rc2.ebuild (New package)
Summary: dev-python/ropemode-0.1_rc2.ebuild (New package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: EBUILD, Inclusion
Depends on:
Blocks: 338553
  Show dependency tree
 
Reported: 2010-09-24 13:40 UTC by Yang Zhang
Modified: 2010-10-04 02:04 UTC (History)
1 user (show)

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


Attachments
main ebuild (ropemode-0.1_rc2.ebuild,545 bytes, text/plain)
2010-09-24 13:41 UTC, Yang Zhang
Details
Modified ebuild (ropemode-0.1_rc2.ebuild,448 bytes, text/plain)
2010-09-30 09:30 UTC, Yang Zhang
Details
Updated ebuild (20101002) (ropemode-0.1_rc2.ebuild,537 bytes, text/plain)
2010-10-02 04:53 UTC, Yang Zhang
Details
Updated ebuild (20101003) (ropemode-0.1_rc2.ebuild,526 bytes, text/plain)
2010-10-03 03:21 UTC, Yang Zhang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yang Zhang 2010-09-24 13:40:32 UTC
app-emacs/company-mode and dev-python/ropemacs all depend on dev-python/ropemode to function correctly but it does not yet exist in portage.
Comment 1 Yang Zhang 2010-09-24 13:41:19 UTC
Created attachment 248515 [details]
main ebuild

The ebuild
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-09-29 16:45:04 UTC
(In reply to comment #1)

- EAPI shouldn't be empty. Use EAPI="3".
- HOMEPAGE is relatively short, so define it in 1 line.
- Use PyPI mirrors in SRC_URI.
- Use MY_P variable to avoid duplication of ${P/_rc/-rc}.
- Please verify if this package supports Python 3.
- Please verify if this package is used as a library, which would mean that it
  could be installable for multiple Python ABIs.
- distutils_src_install() is exported, so delete src_install().
Comment 3 Yang Zhang 2010-09-30 09:29:48 UTC
Thanks very much for all these suggestions.

(In reply to comment #2)
> (In reply to comment #1)
> 
> - EAPI shouldn't be empty. Use EAPI="3".
> - HOMEPAGE is relatively short, so define it in 1 line.
> - Use PyPI mirrors in SRC_URI.
> - Use MY_P variable to avoid duplication of ${P/_rc/-rc}.

Changed in the new ebuild.

> - Please verify if this package supports Python 3.
> - Please verify if this package is used as a library, which would mean that it
>   could be installable for multiple Python ABIs.

This package is not listed in the python3 package list and its dependency dev-python/rope in portage is python 2.6 only. So currently I would assume it does not support Python 3.

> - distutils_src_install() is exported, so delete src_install().
> 

Changed in the new ebuild.
Comment 4 Yang Zhang 2010-09-30 09:30:32 UTC
Created attachment 249057 [details]
Modified ebuild

Modified according to comment #3
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-09-30 19:32:17 UTC
(In reply to comment #4)

- dev-python/ropemode should depend on Python 2.* and should use Python 2.* at
  build time and run time when Python 3.* is set as main active version of
  Python.
Comment 6 Yang Zhang 2010-10-02 04:52:16 UTC
(In reply to comment #5)
> (In reply to comment #4)
> 
> - dev-python/ropemode should depend on Python 2.* and should use Python 2.* at
>   build time and run time when Python 3.* is set as main active version of
>   Python.
> 

The new ebuild is now compatible with dev-python/rope.
Comment 7 Yang Zhang 2010-10-02 04:53:17 UTC
Created attachment 249256 [details]
Updated ebuild (20101002)

Add support for multiple python ABIs.
Comment 8 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-10-02 13:36:23 UTC
(In reply to comment #7)

- Please use DEPEND="dev-python/rope" line as it was in previous ebuild.
  (RDEPEND line is correct.)
Comment 9 Yang Zhang 2010-10-03 03:20:55 UTC
(In reply to comment #8)
> (In reply to comment #7)
> 
> - Please use DEPEND="dev-python/rope" line as it was in previous ebuild.
>   (RDEPEND line is correct.)
> 

Updated in the new ebuild.
Comment 10 Yang Zhang 2010-10-03 03:21:41 UTC
Created attachment 249392 [details]
Updated ebuild (20101003)

Fix DEPEND
Comment 11 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-10-03 16:40:52 UTC
dev-python/ropemode-0.1_rc2 added to the tree.
Comment 12 Yang Zhang 2010-10-04 02:04:45 UTC
(In reply to comment #11)
> dev-python/ropemode-0.1_rc2 added to the tree.
> 

Thanks for your effort.