Bug 224734 - [PATCH] x11-toolkits/py-kivy: unbreak and update to 1.10.0
Summary: [PATCH] x11-toolkits/py-kivy: unbreak and update to 1.10.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: David Naylor
Keywords: patch
Depends on:
Reported: 2017-12-30 17:01 UTC by Christian Sturm
Modified: 2018-01-06 08:06 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (dbn)

svn diff (157.93 KB, patch)
2017-12-30 17:01 UTC, Christian Sturm
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Sturm 2017-12-30 17:01:06 UTC
Created attachment 189225 [details]
svn diff

The attached patch updates and unbreaks toolkits/py-kivy.

For the new version git is used to extract version information (done by setup.py). The dependency doesn't access the network (so also works in poudriere) and is only required at build time.

While this works I also get warnings about duplicate entries in plist, which I am not able to verify by checking on the individual files.
Comment 1 commit-hook freebsd_committer 2018-01-06 07:59:31 UTC
A commit references this bug:

Author: dbn
Date: Sat Jan  6 07:59:20 UTC 2018
New revision: 458231
URL: https://svnweb.freebsd.org/changeset/ports/458231

  x11-toolkits: update to 1.10.0

   - Remove LOCAL mirror (not needed)
   - Add git build dependency
   - Add missing pygment dependency
   - Sort USES section and USE_PYTHON variable
   - Indicate that the port supports Python 3 (thus adding FLAVORS)
   - Make sphinx dependency versions (i.e. support python 3)
   - Add missing dependencies for GSTREAMER option:
     - gettext-runtime
     - glib20
   - Add missing dependency for X11 option: render (x11)
   - Remove PDF install target, no longer an option
   - Remove pkg-plist that is autogenerated (only DOCS remains)
   - Change log: https://kivy.org/#changelog

  PR:		224734
  Submitted by:	Christian Sturm <reezer@reezer@org>

Comment 2 David Naylor freebsd_committer 2018-01-06 08:06:58 UTC
Commit, with changes.  

The duplicate files were due to USE_PYTHON=autoplist.  I removed the offending files from the pkg-plist.  

Please note:
 - when bumping the PORTVERSION, PORTREVISION should be removed
 - I missed it in the commit, but nowadays we prefer DISTVERSION over PORTVERSION
 - for MASTER_SITES LOCAL/$user refers to files uploaded by the FreeBSD commiter $user.  There is no such user called kivy.  Also, since I haven't uploaded a copy I removed this line.  

Thank you for your change.