Summary: | devel/notcurses: Update to 1.6.6 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | nick black <nickblack> | ||||||||
Component: | Individual Port(s) | Assignee: | Tobias C. Berner <tcberner> | ||||||||
Status: | Closed FIXED | ||||||||||
Severity: | Affects Some People | CC: | tcberner | ||||||||
Priority: | --- | ||||||||||
Version: | Latest | ||||||||||
Hardware: | Any | ||||||||||
OS: | Any | ||||||||||
Attachments: |
|
Moin moin there are some stage-qa errors you should look at: =>> Error: Filesystem touched during stage (files must install to ${STAGEDIR}): extra: usr/local/lib/python3.7/site-packages/notcurses-1.6.0-py3.7-freebsd-13.0-CURRENT-amd64.egg usr/local/lib/python3.7/site-packages/easy-install.pth: mfg Tobias Ack, I'll get on top of that, thanks! This is my first time using the options framework; sorry for any foolishness. By the way, when I run "make stage-qa" in either configuration, I get no warnings. What were you running to detect this error? It looks like I was installing this file before without any mention in pkg-plist (at least, I have an old version present in my /usr/local, but it could have come from a wayward local build). I've taken a look at http://www.freebsd.ch/doc/en_US.ISO8859-1/books/porters-handbook/book.html#using-python but am not a Python person, and am a bit confused as to what all is going on here. I'm thinking I might just disable the Python wrappers for now. To comply with the Porter's Handbook section 6.17, it seems I need to be using USES_PYTHON=distutils, since my package provides a setup.py. This will also presumably eliminate plist-related python annoyances (I hope). Unfortunately, throwing USES_PYTHON=distutils into my Makefile (along with the requisite PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}) renames my package and otherwise spectacularly fails. There are two paths I can take (so far as I can tell): (1) somehow build two packages from a single source package: notcurses, plus py37-notcurses. is there a mechanism to do this -- two Makefiles or something, with one referencing the other? that's probably the best way to do it, if so. is this an appropriate way to use Flavors (it doesn't seem so)? (2) otherwise, i can hack it into my pkg-plist with something like %%PYTHON%%lib/%%PYTHON_VERSION%%/site-packages/notcurses-%%REL_VER%%-py%%PYTHON_VERSION%%-freebsd-12.1-RELEASE-amd64.egg In the meantime, I have made a patch for the new 1.6.1, which disables Python until I work out the associated issues. Created attachment 216404 [details]
svn diff 1.5.2 -> 1.6.1
Created attachment 216592 [details]
svn diff 1.5.2 > 1.6.6
This brings devel/notcurses up to the current 1.6.6. This disables Python support for the package. I hope to reenable it in the near future.
I've updated the patch to bring it up to 1.6.6. All Python has been disabled for the time being, until I understand that toolchain better. Adds TEST_TARGET. Please take another look. Committed, thank you :) I added a minor patch to install the manpages to prefix/man instead of prefix/share/man. mfg Tobias A commit references this bug: Author: tcberner Date: Sun Jul 26 14:03:25 UTC 2020 New revision: 543478 URL: https://svnweb.freebsd.org/changeset/ports/543478 Log: devel/notcureses: update to 1.6.6 PR: 247770 Submitted by: Nick Black <nickblack@linux.com> (maintainer) Changes: head/devel/notcurses/Makefile head/devel/notcurses/distinfo head/devel/notcurses/files/ head/devel/notcurses/files/patch-CMakeLists.txt head/devel/notcurses/pkg-plist ahhh indeed, thank you very much for the fix! |
Created attachment 216209 [details] svn diff 1.5.2 -> 1.6.0 Update to new upstream 1.6.0. Add PYTHON option, and tie that into dependencies and CMake arguments. Add TEST_TARGET. Update entry in pkg-plist.