Summary: | marisa: Matching Algorithm with Recursively Implemented StorAge | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rafał Mużyło <galtgendo> |
Component: | [OLD] Library | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | cjk |
Priority: | Normal | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://code.google.com/p/marisa-trie/ | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 479440, 519000 | ||
Attachments: |
WIP: ebuild for the lib (only python module atm)
python patch used in the ebuild marisa-0.2.4.ebuild metadata.xml |
Description
Rafał Mużyło
2013-08-01 20:51:45 UTC
Created attachment 354964 [details]
WIP: ebuild for the lib (only python module atm)
A bit crude but builds enough for libkkc-data.
The way I've done it forces swig dependency, even though swig generated files are in the tarball.
I'm not sure what's the policy on swig files.
Created attachment 354966 [details, diff]
python patch used in the ebuild
Comment on attachment 354964 [details] WIP: ebuild for the lib (only python module atm) >EAPI=5 Please include copyright notice and license. >PYTHON_COMPAT=( python{2_7,3_3} ) >DISTUTILS_OPTIONAL=1 > >inherit distutils-r1 perl-module eutils > >DESCRIPTION="Matching Algorithm with Recursively Implemented StorAge" >HOMEPAGE="" HOMEPAGE could be "https://code.google.com/p/marisa-trie/"? >DEPEND=" > perl? ( dev-lang/swig ) > python? ( dev-lang/swig ) > ruby? ( dev-lang/swig )" If you enable DISTUTILS_OPTIONAL, you have to set proper dependencies for your package (using ${PYTHON_DEPS}) >src_install() { > emake DESTDIR="${D}" install You can use "${ED}" instead of "${D}" (In reply to Naohiro Aota from comment #3) > Comment on attachment 354964 [details] > WIP: ebuild for the lib (only python module atm) > > >EAPI=5 > > Please include copyright notice and license. > I really don't mind. > >DESCRIPTION="Matching Algorithm with Recursively Implemented StorAge" > >HOMEPAGE="" > > HOMEPAGE could be "https://code.google.com/p/marisa-trie/"? > That seems correct. > >DEPEND=" > > perl? ( dev-lang/swig ) > > python? ( dev-lang/swig ) > > ruby? ( dev-lang/swig )" > > If you enable DISTUTILS_OPTIONAL, you have to set proper dependencies for > your package (using ${PYTHON_DEPS}) > Right - not used to working with that eclass. > >src_install() { > > emake DESTDIR="${D}" install > > You can use "${ED}" instead of "${D}" No real experience with prefix - not sure when $Efoo needed instead of $foo. Created attachment 383064 [details]
marisa-0.2.4.ebuild
1) revised version based on rafal's work, please review
2) current I've removed perl/ruby support, cause I've not tested (can't)
I'll commit in a few days if no objection.
Created attachment 383066 [details]
metadata.xml
+*marisa-0.2.4 (22 Aug 2014) + + 22 Aug 2014; Yixun Lan <dlan@gentoo.org> +marisa-0.2.4.ebuild, + +files/marisa-0.2.4-python.patch, +metadata.xml: + initial version added, bug 479436 oops, I forgot to add the "thanks Rafal Muzylo" to the commit log.. (In reply to Yixun Lan from comment #7) > > oops, I forgot to add the "thanks Rafal Muzylo" to the commit log.. I don't mind that. What I do mind, is that those are distinct letters, not just letters with accent marks. |