Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gentoo ebuild #10

Closed
apeyser opened this issue Jun 17, 2009 · 4 comments
Closed

gentoo ebuild #10

apeyser opened this issue Jun 17, 2009 · 4 comments
Labels

Comments

@apeyser
Copy link

apeyser commented Jun 17, 2009

Here's a gentoo ebuild for git-cola, I named it dev-util/git-cola/git-cola-9999.ebuild:

Copyright 2009 Alex Peyser

Distributed under the terms of the GNU General Public License v2

EAPI=2

inherit git

DESCRIPTION="git gui"
HOMEPAGE="http://git-cola.tuxfamily.org/"

EGIT_REPO_URI="git://github.com/davvid/git-cola.git"
EGIT_TREE="HEAD" # SHA1 id

LICENSE="GPL"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
IUSE="doc"

DEPEND="
${DEPEND}
doc? ( dev-python/sphinx )
"
RDEPEND="
dev-util/git

=dev-python/PyQt4-4.3
=dev-python/pyinotify-0.7.1
=dev-lang/python-2.4
"

src_compile() {
emake DESTDIR="${D}" prefix="/usr" all
}

src_install() {
emake DESTDIR="${D}" prefix="/usr" install
use doc && emake DESTDIR="${D}" prefix="/usr" install-doc
dodoc COPYRIGHT INSTALL LICENSE README
}

@apeyser
Copy link
Author

apeyser commented Jun 17, 2009

Oh, and to point out that pyinotify must be at least version 0.7.1 -- I didn't see that in any of the docs, and 0.7.0 fails.

@davvid
Copy link
Member

davvid commented Jun 18, 2009

Thanks! Do you want me to add this file to git-cola, or is this going to be committed to gentoo (I'm assuming gentoo)?

I'll update the README to mention pyinotify 0.7.1.
Thanks for catching that.

@apeyser
Copy link
Author

apeyser commented Jun 18, 2009

I logged a bug report with it. But since I did a simple ebuild without getting
into all the details of compiling python modules per version of python,
massaging documentation, etc, unless it peaks an interest in someone with
more knowledge of that end it'll sit on the bug report list, which is the
equivalent of you distributing it as part of the repository.

It's simpler than a debian setup, but still doing anything with
interpreted/compiled languages in a distribution is always a bit of a pain.

I just always like to try to get these things out there -- even a simple start
might interest someone else in refining things and keeping them up to date.

@apeyser
Copy link
Author

apeyser commented Jun 19, 2009

Well, I'll be. Git is now in the gentoo tree -- it appears that one of the gentoo developers was using git but hadn't yet moved his ebuild from his personal overlay into the public repository. So it's better that my half-assed version not be distributed.

davvid pushed a commit to davvid/git-cola that referenced this issue Jun 30, 2016
Use the right PyQt4/PySide QtGui classes in QtWidgets and QtGui
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants