-
Notifications
You must be signed in to change notification settings - Fork 2k
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
sys-fs/compsize: New ebuild (proxy maintainer) #7660
Conversation
Pull Request assignment Areas affected: ebuilds sys-fs/compsize: @gentoo/proxy-maint (new package) No bugs to link found. If your pull request references any of the Gentoo bug reports, please add appropriate GLEP 66 tags to the commit message and ping us to reset the assignment. In order to force reassignment and/or bug reference scan, please append |
# Copyright 1999-2018 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use the standard order as present in skel:
EAPI
inherit ....
DESCRIPTION
HOMEPAGE
SRC_URI
LICENSE
SLOT
KEYWORDS
IUSE
DEPEND
RDEPEND
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please include the appropriate empty lines too.
sys-fs/compsize/compsize-1.1.ebuild
Outdated
RDEPEND="" | ||
inherit flag-o-matic | ||
# Used in upstream Makefile, but clobbered by portage's CFLAGS | ||
append-cflags -Wall -std=gnu90 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't do this in global scope, move it to a phase function.
sys-fs/compsize/compsize-1.1.ebuild
Outdated
# Used in upstream Makefile, but clobbered by portage's CFLAGS | ||
append-cflags -Wall -std=gnu90 | ||
|
||
if [[ "$PV" = 9999 ]] ; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Always use ${...}
variable form. Also, don't quote inside [[ ... ]]
.
sys-fs/compsize/compsize-1.1.ebuild
Outdated
|
||
src_install() { | ||
# work around Makefile failing to create this directory | ||
mkdir -p "${ED}/usr/share/man/man8" || die |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
${ED%/}
sys-fs/compsize/metadata.xml
Outdated
<maintainer type="project"> | ||
<email>proxy-maint@gentoo.org</email> | ||
</maintainer> | ||
<longdescription>utility to measure btrfs compression ratio</longdescription> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this, please. It's only necessary when you have a very long description that doesn't fit in ebuild.
<email>adebeus@gmail.com</email> | ||
</maintainer> | ||
<maintainer type="project"> | ||
<email>proxy-maint@gentoo.org</email> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please include <name/>
here (copy it from some other ebuild).
afecaaf
to
d92b69b
Compare
The new commit should fix all of these issues. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once done, please squash all you commits into one.
sys-fs/compsize/compsize-1.1.ebuild
Outdated
|
||
if [[ ${PV} = 9999 ]] ; then | ||
inherit git-r3 | ||
KEYWORDS="" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the two empty vars. Otherwise ekeyword
used by arch testers will add keywords here.
# Copyright 1999-2018 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please include the appropriate empty lines too.
@@ -0,0 +1,30 @@ | |||
# Copyright 1999-2018 Gentoo Foundation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update -9999 as well.
060dcc2
to
7582d10
Compare
How does it look now? |
7582d10
to
da15719
Compare
Almost good. One more thing to fix:
(my Portage might be stricter than yours) Please fix the build system not to compress manpages on its own. |
da15719
to
e4a8007
Compare
I actually had put that fix in originally, but replaced it with the |
Pull request CI report Report generated at: 2018-03-30 21:28 UTC Issues already there before the PR (double-check them): |
Could you try passing |
I just tried that, but it doesn't seem to work. |
In particular, after applying this change:
the installation fails with the following:
So I'm leaving it as-is for now unless you can suggest a better way to fix it. |
Ok, thanks for testing. Let's go with sed then. |
I wrote this ebuild and went to open a bug on Bugzilla so I could submit a PR for it and noticed that bug #646616 already existed, so I didn't open a duplicate. However, this ebuild is my own work, tested by me, and I am willing to proxy-maintain it.