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

net-p2p/classified-ads: version bump to 0.13 #9449

Closed

Conversation

operatornormal
Copy link
Contributor

@operatornormal operatornormal commented Aug 4, 2018

EAPI=7 for the new upstream version.
Patches of 0.12 removed because upstream has changes included.
Package-Manager: Portage-2.3.40, Repoman-2.3.9

Closes: https://bugs.gentoo.org/661338

@gentoo-bot gentoo-bot added self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else) assigned PR successfully assigned to the package maintainer(s). labels Aug 4, 2018
@operatornormal operatornormal changed the title net-p2p/classified-ads: version bump to 0.13 net-p2p/classified-ads: version bump to 0.13 [please reassign] Aug 5, 2018
@gentoo-bot gentoo-bot changed the title net-p2p/classified-ads: version bump to 0.13 [please reassign] net-p2p/classified-ads: version bump to 0.13 Aug 5, 2018
@gentoo-bot gentoo-bot added self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else) assigned PR successfully assigned to the package maintainer(s). and removed assigned PR successfully assigned to the package maintainer(s). self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else) labels Aug 5, 2018
@operatornormal operatornormal changed the title net-p2p/classified-ads: version bump to 0.13 net-p2p/classified-ads: version bump to 0.13 [please reassign] Aug 5, 2018
@gentoo-bot gentoo-bot changed the title net-p2p/classified-ads: version bump to 0.13 [please reassign] net-p2p/classified-ads: version bump to 0.13 Aug 5, 2018
@gentoo-bot gentoo-bot added self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else) assigned PR successfully assigned to the package maintainer(s). and removed assigned PR successfully assigned to the package maintainer(s). self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else) labels Aug 5, 2018
@Chiitoo
Copy link
Contributor

Chiitoo commented Aug 5, 2018

As I mentioned in IRC, there should be an empty line separating the body/description and the 'Closes' tag (which might be why the bot is not seeing it, though I'm not entirely sure).

@operatornormal operatornormal changed the title net-p2p/classified-ads: version bump to 0.13 net-p2p/classified-ads: version bump to 0.13 [please reassign] Aug 5, 2018
@gentoo-bot gentoo-bot changed the title net-p2p/classified-ads: version bump to 0.13 [please reassign] net-p2p/classified-ads: version bump to 0.13 Aug 5, 2018
@gentoo-bot gentoo-bot added self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else) assigned PR successfully assigned to the package maintainer(s). and removed assigned PR successfully assigned to the package maintainer(s). self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else) labels Aug 5, 2018
@Chiitoo
Copy link
Contributor

Chiitoo commented Aug 5, 2018

You'll probably want to change it in the commit message, the pull request description doen't matter that much. :]

EAPI=7 for the new upstream version.
Patches of 0.12 removed because upstream has changes included.
Closes: https://bugs.gentoo.org/661338

Package-Manager: Portage-2.3.40, Repoman-2.3.9
@operatornormal operatornormal changed the title net-p2p/classified-ads: version bump to 0.13 net-p2p/classified-ads: version bump to 0.13 [please reassign] Aug 6, 2018
@gentoo-bot gentoo-bot changed the title net-p2p/classified-ads: version bump to 0.13 [please reassign] net-p2p/classified-ads: version bump to 0.13 Aug 6, 2018
@gentoo-bot
Copy link

Pull Request assignment

Areas affected: ebuilds
Packages affected: net-p2p/classified-ads

net-p2p/classified-ads: @operatornormal, @gentoo/proxy-maint

Bugs linked: 661338

In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

@gentoo-bot gentoo-bot added self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else) and removed assigned PR successfully assigned to the package maintainer(s). self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else) labels Aug 6, 2018
@gentoo-bot gentoo-bot added assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. labels Aug 6, 2018

DESCRIPTION="Program for displaying classified advertisement items"
HOMEPAGE="http://katiska.org/classified-ads/"
SRC_URI="https://github.com/operatornormal/classified-ads/archive/${PV}.tar.gz \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No backslashes here, those variables work fine as multi-line.

https://github.com/operatornormal/classified-ads/blob/graphics/preprocessed.tar.gz?raw=true \
-> classified-ads-graphics-${PV}.tar.gz"

LICENSE="LGPL-2.1"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

either version 2.1 of the License, or (at your option) any later version.

So LGPL-2.1+.

IUSE="doc test"

RDEPEND="dev-libs/openssl:0
>=net-libs/libnatpmp-20130911
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use single tab for indent, please.

RDEPEND="dev-libs/openssl:0
>=net-libs/libnatpmp-20130911
<=net-libs/libnatpmp-20140401-r1
>=net-libs/miniupnpc-1.8
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you link to the library, := to ensure your package gets rebuilt on ABI changes.


RDEPEND="dev-libs/openssl:0
>=net-libs/libnatpmp-20130911
<=net-libs/libnatpmp-20140401-r1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why require such an old version? :-(

dev-qt/qtprintsupport:5
media-libs/opus
virtual/libintl
dev-lang/tcl:=
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sort dependencies lexically.

popd > /dev/null || die
fi
if use test; then
pushd testca > /dev/null || die
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

emake -C testca


src_install() {
docompress -x /usr/share/doc/
emake install INSTALL_ROOT="${D}" DESTDIR="${D}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you really need to use INSTALL_ROOT and DESTDIR simultaneously? oO

src_install() {
docompress -x /usr/share/doc/
emake install INSTALL_ROOT="${D}" DESTDIR="${D}"
use doc && dodoc -r doc/doxygen.generated/html/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Finish it with /.. Trailing slash is undefined behavior.

EAPI=7
PLOCALES="en fi sv da uk es"
PLOCALE_BACKUP="en"
inherit qmake-utils virtualx l10n
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're not using l10n at all here (and you aren't supposed to), so please remove that and PLOCALE*.

Modifications to ebuild requested in comments of PR 9449.
Closes: https://bugs.gentoo.org/661338
Package-Manager: Portage-2.3.40, Repoman-2.3.9
@operatornormal
Copy link
Contributor Author

Dear mgorny

thank you for comments. There is now a updated ebuild pushed into PR that tries to fix most of the problems detected in your review. There is a note and a question regarding the comments. First is about simultanous use of INSTALL_ROOT and DESTDIR and answer is yes - without modifying upstream we need both. Passing both INSTALL_ROOT and DESTDIR avoids me from creating a patch against upstream makefile so passing both here is smaller pain. The question is about very last comment "Finish it with /.. Trailing slash is undefined behavior." that I don't understand. Is it about dodoc directory or what? Installing docs to doc/doxygen.generated/html/.. would lead to .. nonfunctional documentation so obviously there is some details that I don't get here. Where shall I put .. in order to avoid undefined behaviour?

--
Antti, partially clueless

@mgorny
Copy link
Member

mgorny commented Aug 16, 2018

If they indeed need both, that's fine. Just wanted to make sure you didn't leave one or the other by mistake.

As for the trailing slash part, it's POSIX. When you pass foo/, it's undefined whether foo will be created or just the content copied. Using foo/. (single dot) fixes that so foo will never be created. I think you've confused the GitHub formatting for full stop ending sentence with the second dot. Sorry about that.

PR 9449: made documentation directory more POSIX conformant.
Closes: https://bugs.gentoo.org/661338
Package-Manager: Portage-2.3.40, Repoman-2.3.9
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2018-08-17 17:42 UTC
Newest commit scanned: fca77d5
Status: ✅ good

Issues already there before the PR (double-check them):
https://qa-reports.gentoo.org/output/gentoo-ci/1e58a03/output.html#app-xemacs/cogre
https://qa-reports.gentoo.org/output/gentoo-ci/1e58a03/output.html#app-xemacs/ecb

@mgorny
Copy link
Member

mgorny commented Aug 18, 2018

Looks good, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants