On Sunday 02 January 2011 16:02:11 David Beazley wrote: > Hope everyone is having a good new year. > > Just a quick note to say that I've migrated the PLY source repo over to > github as a bit of experiment. You can access it here: > > http://github.com/dabeaz/ply
Hi all, I've made a small modification to ebuild for Gentoo to install the Git version (attached) - if anybody on Gentoo wants to try it. David, good idea to migrate to Git :-) I have one tip for local Git repository (before you commit to the public repository) - `git-rebase -i` (interactive rebase) is a very good tool to reorder/merge/remove commits. Afterwards, when you are happy with the patches, you can push them to github. Cheers, Oldrich. > I have to admit that I'm pretty new to git and will need to experiment with > it more to get the hang of its various features. However, I think that > this move might facilitate the incorporation of future PLY patches, > examples, and other things. So, try it out and let me know if there are > any problems. > > Cheers, > Dave -- You received this message because you are subscribed to the Google Groups "ply-hack" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/ply-hack?hl=en.
# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/ply/ply-3.3.ebuild,v 1.4 2010/11/01 20:35:22 arfrever Exp $ EAPI="3" SUPPORT_PYTHON_ABIS="1" inherit distutils git DESCRIPTION="Python Lex-Yacc library" HOMEPAGE="http://www.dabeaz.com/ply/ http://pypi.python.org/pypi/ply" EGIT_REPO_URI="git://github.com/dabeaz/ply.git" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~ia64 ~ppc ~x86" IUSE="examples" DOCS="ANNOUNCE CHANGES" src_prepare() { distutils_src_prepare sed -e "s/print repr(result)/print(repr(result))/" -i test/testyacc.py || die "sed failed" } src_test() { python_enable_pyc cd test testing() { local exit_status="0" test for test in testlex.py testyacc.py; do einfo "Running ${test}..." if ! "$(PYTHON)" testlex.py; then ewarn "${test} failed with $(python_get_implementation) $(python_get_version)" exit_status="1" fi done return "${exit_status}" } python_execute_function testing python_disable_pyc } src_install() { distutils_src_install dohtml doc/* if use examples; then insinto /usr/share/doc/${PF} doins -r example || die "doins failed" fi }
