Page MenuHomeFreeBSD

Update Mk/Uses/python.mk
AbandonedPublic

Authored by sunpoet on Jan 2 2016, 7:50 PM.
Tags
None
Referenced Files
F102193402: D4758.diff
Fri, Nov 8, 6:47 PM
Unknown Object (File)
Wed, Oct 30, 12:35 PM
Unknown Object (File)
Oct 8 2024, 4:18 AM
Unknown Object (File)
Oct 5 2024, 8:44 PM
Unknown Object (File)
Oct 3 2024, 7:12 AM
Unknown Object (File)
Oct 3 2024, 12:58 AM
Unknown Object (File)
Oct 1 2024, 1:35 PM
Unknown Object (File)
Sep 27 2024, 4:27 PM
Subscribers

Details

Summary
  • Update PLIST_SUB:
    • Add PYTHON_PYOEXTENSION and PYTHON_SUFFIX
    • Add PYTHON2 and PYTHON3
    • Respect PYTHON_VERSION
  • Rename PYOEXTENSION to PYTHON_PYOEXTENSION

This change would help:

  • Build databases/postgresql*-plpython with Python 3 (It has PLIST issue since bsd.python.mk to Uses/python.mk transition)
  • Simplify Makefile
% cd /usr/ports/databases/postgresql94-plpython
% make -V PYTHON_VERSION
python3.5
% make check-plist
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: lib/postgresql/plpython2.so
Error: Missing: %%DATADIR%%/extension/plpython2u--1.0.sql
Error: Missing: %%DATADIR%%/extension/plpython2u--unpackaged--1.0.sql
Error: Missing: %%DATADIR%%/extension/plpython2u.control
Error: Missing: %%DATADIR%%/extension/plpythonu--1.0.sql
Error: Missing: %%DATADIR%%/extension/plpythonu--unpackaged--1.0.sql
Error: Missing: %%DATADIR%%/extension/plpythonu.control
===> Error: Plist issues found.
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/postgresql94-plpython
% make -V PLIST_SUB
PYTHON2="" PYTHON3="@comment " PG_USER=pgsql  PG_GROUP=pgsql PYTHON_INCLUDEDIR=include/python3.5m  PYTHON_LIBDIR=lib/python3.5  PYTHON_PLATFORM=freebsd10  PYTHON_SITELIBDIR=lib/python3.5/site-packages  PYTHON_VER=3.5  PYTHON_VERSION=python3.5 OSREL=10.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local PORTDOCS="@comment " PORTEXAMPLES="@comment " LIB32DIR=lib DOCSDIR="share/doc/postgresql"  EXAMPLESDIR="share/examples/postgresql"  DATADIR="share/postgresql"  WWWDIR="www/postgresql"  ETCDIR="etc/postgresql"
Test Plan

exp-run for Mk/Uses/python.mk change

Diff Detail

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

Event Timeline

sunpoet retitled this revision from to Update Mk/Uses/python.mk.
sunpoet updated this object.
sunpoet edited the test plan for this revision. (Show Details)
sunpoet added reviewers: Python, portmgr, x11, kwm.
sunpoet edited edge metadata.

Update for missing databases/postgresql90-plpython/Makefile in previous revision.

sunpoet edited edge metadata.

Can you adjust the following ports:

accessibility/accerciser
accessibility/orca
accessibility/py3-atspi
astro/weather
deskutils/alacarte
devel/pygobject3-common
devel/py3-gobject3
editors/gedit-plugins
graphics/eog-plugins
graphics/py3-cairo
graphics/py-opencv
?

eadler requested changes to this revision.May 16 2016, 9:18 AM
eadler removed reviewers: portmgr, kwm, x11, Python.
eadler added reviewers: portmgr, kwm, x11, Python.
eadler added a reviewer: eadler.
This revision now requires changes to proceed.May 16 2016, 9:18 AM
sunpoet edited edge metadata.

Update Mk/Uses/python.mk

sunpoet retitled this revision from Update Mk/Uses/python.mk to Mk/Uses/python.mk: add more PLIST_SUB.Dec 31 2016, 7:21 PM
sunpoet updated this object.
sunpoet edited edge metadata.
sunpoet retitled this revision from Mk/Uses/python.mk: add more PLIST_SUB to Update Mk/Uses/python.mk.
sunpoet updated this object.

Mk/Uses/python.mk: add more PLIST_SUB

is this still relevant or should it be removed?

This revision now requires changes to proceed.Jul 21 2020, 6:46 PM
In D4758#570239, @bapt wrote:

is this still relevant or should it be removed?

It has been committed as r430839.