This is an ebuild to install the IEEE Transactions LaTeX an BibTeX files. The ebuild goes into dev-tex/ieeetran, and should work on all platforms. Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: Expected Results:
Created attachment 73640 [details] The ieeetran-20050913.ebuild
Hi, some remarks on your ebuild : - First, it doesn't work : unpack fails because of "unpack ${LATEX_SRC}/unpack ${BIBTEX_SRC}" where those two variables are undefined. - The header is not correct. Please use *exactly* the content of /usr/portage/header.txt - Your licence is not one of those in /usr/portage/licenses, so it must be added there first. Please provide the full text for review. - Keywords is not good : a new ebuild is always in ~arch, never directly in arch, it's arch team decision. Also, have you tested it yourself on both x86 and ppc-macos ? - SRC_URI does not follow gentoo policy, as it has no version number in the tarball. If the licence allows it, either make another tarball with a proper name and host it yourself or use mirror:// in SRC_URI and ask for direct inclusion in mirrors. - You should use ${P} variables in SRC_URI to make bumps easier. - You should use latex-package.eclass functions as much as possible (.cls and doc installation, for instance). - Also copy the .dvi files of documentation, people don't want to have to run latex each time. Thanks
>>- First, it doesn't work : unpack fails because of "unpack ${LATEX_SRC}/unpack >>${BIBTEX_SRC}" where those two variables are undefined. Oops. Uploaded the wrong file. >>- The header is not correct. Please use *exactly* the content of >>/usr/portage/header.txt Done. >>- Your licence is not one of those in /usr/portage/licenses, so it must be added >>there first. Please provide the full text for review. It appears that "Artistic" is what the "Perl Artistic License" is called in portage. Changed. >>- Keywords is not good : a new ebuild is always in ~arch, never directly in >>arch, it's arch team decision. Also, have you tested it yourself on both x86 and >>ppc-macos ? OK, changed to ~x86 and ~ppc-macos. Yes, it's been tested on both. >>- SRC_URI does not follow gentoo policy, as it has no version number in the >>tarball. If the licence allows it, either make another tarball with a proper >>name and host it yourself or use mirror:// in SRC_URI and ask for direct >>inclusion in mirrors. I can't make the IEEE change their naming for these packages, so I guess it has to be repacked and hosted somewhere. I can't host something like this, so I don't know what to do with this. Both the tar files contain just a handful files each with no subdirectories, so there's really not much to do except to unpack and repack. >>- You should use ${P} variables in SRC_URI to make bumps easier. I guess there's not much reason to do this unless the files are being repacked and hosted on the Gentoo mirrors. >>- You should use latex-package.eclass functions as much as possible (.cls and >>doc installation, for instance). Yes, I know, but I didn't know how to add stuff to a function, so I just had to override it. (The bib files are not handled in the latex-package.eclass, for instance.) >>- Also copy the .dvi files of documentation, people don't want to have to run >>latex each time. No .dvi files to copy. I copied the .pdf files, though.
Created attachment 73642 [details] ieeetran-20050913.ebuild
ieeetran seems to be part of texlive-publishers now. So maybe this bug can be closed: # equery belongs IEEEtran.cls [ Searching for file(s) IEEEtran.cls in *... ] dev-texlive/texlive-publishers-2010 (/usr/share/texmf-dist/tex/latex/IEEEtran/IEEEtran.cls) --- Øystein