Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300967 - dev-python/python-twitter-9999 live ebuild (using the sources from the Mercurial default branch)
Summary: dev-python/python-twitter-9999 live ebuild (using the sources from the Mercur...
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: http://code.google.com/p/python-twitter/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-14 11:24 UTC by Daniel Mettler
Modified: 2017-06-13 20:55 UTC (History)
1 user (show)

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


Attachments
dev-python/python-twitter-9999.ebuild (based on python-twitter-0.6.ebuild, but for the sources from the Mercurial repo) (python-twitter-9999.ebuild,1.29 KB, text/plain)
2010-01-14 11:26 UTC, Daniel Mettler
Details
dev-python/python-twitter-9999.ebuild (based on python-twitter-0.6.ebuild, but for the sources from the Mercurial repo (python-twitter-9999.ebuild,1.09 KB, text/plain)
2010-01-14 13:22 UTC, Daniel Mettler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Mettler 2010-01-14 11:24:52 UTC
This ebuild is based on dev-python/python-twitter-0.6.ebuild which already is in the portage tree. The only difference is that python-twitter-9999.ebuild is a live-ebuild, meaning the sources are fetched from the default branch in python-twitter's Mercurial repository.

I've tested it on my server (x64) and it worked fine.

Thanks a lot for the debugging help to binki/Nathan (kudos!) and [Enrico] from #gentoo-dev-help.

Important note: As binki pointed out, Mercurial also accepts a branch name for EHG_REVISION. For this ebuild, setting EHG_REVISION="default" is required to make sure sources are fetched from the default branch (instead of the dev branch).
Comment 1 Daniel Mettler 2010-01-14 11:26:16 UTC
Created attachment 216482 [details]
dev-python/python-twitter-9999.ebuild (based on python-twitter-0.6.ebuild, but for the sources from the Mercurial repo)
Comment 2 Ben de Groot (RETIRED) gentoo-dev 2010-01-14 12:23:08 UTC
Nice ebuild. A few minor points:

- as this is a live ebuild, you should drop all keywords
- no need for the cd in src_unpack
- keep DESCRIPTION on one line (max. 100 characters)

That being said, we don't usually add live ebuilds to portage, but it is up to the developer. You might want to look for an overlay to put it in.
Comment 3 Daniel Mettler 2010-01-14 13:22:00 UTC
Created attachment 216495 [details]
dev-python/python-twitter-9999.ebuild (based on python-twitter-0.6.ebuild, but for the sources from the Mercurial repo

Thanks Ben. I've quickly made the changes you suggested.

If it's put in an overlay or just kept here in bugzilla, I'm fine with it. Most people looking for an ebuild they don't find in portage probably search for it either here or in an overlay.
Comment 4 Patrice Clement gentoo-dev 2017-06-13 20:55:17 UTC
Please file a PR if you're still interested in using a live version of this ebuild. I've just bumped it to v3.3 which is the latest.