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

media-gfx/alembic: bump to version 1.7.9 #10003

Closed
wants to merge 1 commit into from

Conversation

waebbl
Copy link
Contributor

@waebbl waebbl commented Sep 28, 2018

add experimental support for arnold, maya and renderman plugins

Bug: https://bugs.gentoo.org/667230
Signed-off-by: Bernd Waibel waebbl@gmail.com
Package-Manager: Portage-2.3.49, Repoman-2.3.10

@gentoo-bot
Copy link

Copyright policy change

Please note that on 2018-09-15 Trustees have approved new Gentoo copyright policy. All contributions made to Gentoo need to follow this policy. If you include the Signed-off-by line in your commit message, you indicate that you have read the policy and agree to its terms. For more detailed explanation, please see the new Gentoo copyright policy explained article.

Pull Request assignment

Areas affected: ebuilds
Packages affected: media-gfx/alembic

media-gfx/alembic: @waebbl, @gentoo/proxy-maint

Linked bugs

Bugs linked: 667230


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

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@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). bug linked Bug/Closes found in footer, and cross-linked with the PR. labels Sep 28, 2018
@waebbl
Copy link
Contributor Author

waebbl commented Sep 28, 2018

fixed a typo in metadata.xml in pyalembic flag. The restrict attribute is valid for <media-gfx/alembic-1.7.9 not >media-gfx/alembic-1.7.9

@waebbl waebbl force-pushed the alembix-update branch 2 times, most recently from dad8a85 to a3b1500 Compare September 30, 2018 15:38
@waebbl
Copy link
Contributor Author

waebbl commented Sep 30, 2018

Fixed an issue with the python module not importing correctly.


inherit cmake-utils python-single-r1

DESCRIPTION="Alembic is an open framework for storing and sharing scene data"
Copy link
Member

Choose a reason for hiding this comment

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

DESCRIPTION shall not repeat PN. Just start with Open...

inherit cmake-utils python-single-r1

DESCRIPTION="Alembic is an open framework for storing and sharing scene data"
HOMEPAGE="http://alembic.io/"
Copy link
Member

Choose a reason for hiding this comment

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

how about https?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

does not work for alembic.io, but for www.alembic.io. Changed it.

python? ( boost )
"

CDEPEND="
Copy link
Member

Choose a reason for hiding this comment

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

Single-letter prefix for DEPEND is reserved for future EAPIs. But it is not even required in this case, just make it RDEPEND and make DEPEND inherit that.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Didn't know about the single letter prefixes. Initially I thought I will have more differences, so an extra COMMON_DEPEND would be meaningful, but this isn't actually the case. I changed it.


CDEPEND="
${PYTHON_DEPS}
>=media-libs/openexr-2.2.0-r2
Copy link
Member

Choose a reason for hiding this comment

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

this will likely need a rebuild on subslot bump, so please add :=

CDEPEND="
${PYTHON_DEPS}
>=media-libs/openexr-2.2.0-r2
boost? ( >=dev-libs/boost-1.65.0[python,${PYTHON_USEDEP}] )
Copy link
Member

Choose a reason for hiding this comment

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

this will likely need a rebuild on subslot bump, so please add :=

<flag name="hdf5">Add support <pkg>sci-libs/hdf5</pkg></flag>
<flag name="pyalembic">Build pyalembic python bindings (needs <pkg>dev-python/pyilmbase</pkg>)</flag>
<flag name="maya" restrict="&gt;=media-gfx/alembic-1.7.9">
Copy link
Member

Choose a reason for hiding this comment

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

same as above

<flag name="maya" restrict="&gt;=media-gfx/alembic-1.7.9">
Compile Alembic plugin for Maya (experimental)
</flag>
<flag name="prman" restrict="&gt;=media-gfx/alembic-1.7.9">
Copy link
Member

Choose a reason for hiding this comment

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

same as above

<flag name="prman" restrict="&gt;=media-gfx/alembic-1.7.9">
Compile Alembic plugin for Renderman (experimental)
</flag>
<flag name="pyalembic" restrict="&lt;media-gfx/alembic-1.7.9">
Copy link
Member

Choose a reason for hiding this comment

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

same as above

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So with this one and the next one (pyalembic and python use flags) hasn't the meaning actually changed by renaming the first into the latter?

<!-- renamed to python in 1.7.9 -->
Build pyalembic python bindings (needs <pkg>dev-python/pyilmbase</pkg>)
</flag>
<flag name="python" restrict="&gt;=media-gfx/alembic-1.7.9">
Copy link
Member

Choose a reason for hiding this comment

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

same as above

media-gfx/alembic/alembic-1.7.9.ebuild Show resolved Hide resolved
@waebbl waebbl force-pushed the alembix-update branch 3 times, most recently from 199c790 to 7f7ac61 Compare October 1, 2018 06:35
Copy link
Contributor Author

@waebbl waebbl left a comment

Choose a reason for hiding this comment

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

Requested changes are done

Copy link
Member

@a17r a17r left a comment

Choose a reason for hiding this comment

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

  Manually-specified variables were not used by the project:

    PYILMBASE_ROOT

src_install() {
cmake-utils_src_install
if use doc; then
dodoc -r "doc/html"
Copy link
Member

Choose a reason for hiding this comment

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

use doc && local HTML_DOCS=( doc/html/. ) and put it before cmake-utils_src_install

@waebbl
Copy link
Contributor Author

waebbl commented Oct 1, 2018

Passing the PYILMBASE_ROOT to cmake-utils_src_configure was the easy way without the need to patch one of the CMakefiles. Where did this warning show up? At my last ebuild run, I didn't notice it.

@a17r Please try again. I removed the -DPYILMBASE_ROOT from src_configure and patched the cmake file instead to pass the correct path.

	add experimental support for arnold, maya and renderman plugins
	fix import error in python

Bug: https://bugs.gentoo.org/667230
Signed-off-by: Bernd Waibel <waebbl@gmail.com>
Package-Manager: Portage-2.3.49, Repoman-2.3.10
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2018-10-01 20:15 UTC
Newest commit scanned: 79475ea
Status: ✅ good

No issues found

@a17r
Copy link
Member

a17r commented Oct 3, 2018

Thanks!

@waebbl
Copy link
Contributor Author

waebbl commented Oct 3, 2018

Thanks for approving :)

@gentoo-bot gentoo-bot closed this in 162768a Oct 3, 2018
@waebbl waebbl deleted the alembix-update branch October 3, 2018 16:51
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
4 participants