Page MenuHomeFreeBSD

math/py-kiwisolver: Update to 1.2.0
ClosedPublic

Authored by lbartoletti on Apr 11 2020, 6:36 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 22, 5:08 PM
Unknown Object (File)
Dec 23 2023, 2:28 AM
Unknown Object (File)
Dec 23 2023, 2:28 AM
Unknown Object (File)
Dec 23 2023, 2:28 AM
Unknown Object (File)
Dec 23 2023, 2:28 AM
Unknown Object (File)
Dec 22 2023, 1:07 PM
Unknown Object (File)
Dec 20 2023, 6:32 AM
Unknown Object (File)
Nov 16 2023, 8:56 AM
Subscribers

Details

Summary
  • Update math/py-kiwisolver to 1.2.0
  • Version 1.1.0 of math/py-kiwisolver was the last one to support Pyton2. Now, it's python 3.6+ only
  • Strip kiwisolver.so
  • Add a new port devel/py-cppy as dependency [1]
Test Plan
  • portlint (looks fine.)
  • poudriere (11/12/13 i386/amd64)

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 30419
Build 28179: arc lint + arc unit

Event Timeline

math/py-kiwisolver/Makefile
15

^ are you sure about allfalvors

#       allflavors      - Generate flavors for all possible versions and not
#                         simply the default ones.  Only to be used for py-*
#                         ports that are part of the Python distribution, but
#                         kept as separate ports.
lbartoletti added inline comments.
math/py-kiwisolver/Makefile
15

Nope, I asked on #freebsd-python

I never paid attention to this line in python.mk because from what I understand the handbook https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/book.html#flavors-auto-python, it's not reserved for special ports. And it's the only way to allow to build py38 ports where default python is py37 for example.

lbartoletti marked an inline comment as done.

Remove allflavors

Remove allflavors

@mat could you clarify the use of allflavors -- what is correct, the porters handbook or python.mk?

Remove allflavors

@mat could you clarify the use of allflavors -- what is correct, the porters handbook or python.mk?

Erg. I forgot to post the exchange we had with @koobs on irc.

lbart: allflavors is for in-ports use, and again only for special (not general) use
lbart: for users, the current knob is BUILD_ALL_PYTHON_FLAVORS, which aside from being opt-in to allow more than just default-version building, is not particularly well named
lbart: so either stick that in the respective make.conf or provide it on the command line in the form of make arg or env var

This revision is now accepted and ready to land.Apr 29 2020, 7:13 PM

Should I commit devel/py-cppy first as a new port and after math/py-kiwisolver or both in the same commit?

Should I commit devel/py-cppy first as a new port and after math/py-kiwisolver or both in the same commit?

I would go with two commit's here.

  1. One to create the new port
  2. The second with he update