1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
Commit Graph

91 Commits

Author SHA1 Message Date
Mathieu Arnold
551be3c723 Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
  current python flavor.  It can be used in dependency lines when the
  port itself is not python flavored.  For example, deskutils/calibre.

  By default, all the flavors are generated.  To only generate flavors
  for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
  BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.

  In all the ports with Python dependencies, the *_DEPENDS entries MUST
  end with the flavor so that the framework knows which to build/use.
  This is done by appending '@${PY_FLAVOR}' after the origin (or
  @${FLAVOR} if in a Python module with Python flavors, as the content
  will be the same).  For example:

    RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}

PR:		223071
Reviewed by:	portmgr, python
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D12464
2017-11-30 15:50:30 +00:00
Dmitry Marakasov
91215fb952 - Add LICENSE_FILE
- Switch to options helpers
2017-03-19 09:01:57 +00:00
Dmitry Marakasov
9c3a337329 - Switch to options helpers
- Switch to new test framework
2017-01-10 09:01:13 +00:00
Mark Linimon
cb90f21ce7 Mark as broken on various tier-2 archs.
While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2016-11-14 06:49:45 +00:00
Pietro Cerutti
f686e26c90 databases/metakit: and bump PORTREVISION 2016-07-06 14:15:55 +00:00
Pietro Cerutti
c0b3dde5a1 databases/metakit: bump dependency on Tcl from 8.4 to 8.5 2016-07-06 14:15:23 +00:00
Baptiste Daroussin
3edc030b9f Cleanup plist 2014-10-20 10:41:12 +00:00
Antoine Brodin
71d491109d Stop doing strange things in plist
While here convert to USES=python
2014-08-10 09:40:09 +00:00
Marcus von Appen
900db324a3 Convert the Python framework bits to USES=python.
Please use USES=python instead of USE_PYTHON.

  USE_PYTHON=yes becomes USES=python
  USE_PYTHON=2.7+ becomes USES=python:2.7+
  USE_PYTHON_BUILD=3.3 becomes USES=python:3.3,build
  ...

A new PYTHON_FEATURES variable was added, which enables certain features for a
port and replaces some knobs at the same time;

  PYTHON_FEATURES=distutils replaces USE_PYDISTUTILS
  PYTHON_FEATURES=autoplist replaces PYDISTUTILS_AUTOPLIST
  PYTHON_FEATURES=py3kplist replaces PYTHON_PY3K_PLIST_HACK
  PYTHON_FEATURES=noegginfo replaces PYDISTUTILS_NOEGGINFO
  PYTHON_FEATURES=concurrent replaces PYTHON_CONCURRENT_INSTALL
  PYTHON_FEATURES=pythonprefix replaces USE_PYTHON_PREFIX

Some knobs have been deprecated and are to be removed in the near future:

  PYTHON_MASTER_SITES - use MASTER_SITE_PYTHON instead
  PYTHON_PKGNAMESUFFIX - use PYTHON_PKGNAMEPREFIX instead
  PYDISTUTILS_INSTALLNOSINGLE - deprecated without replacement

Some knobs have been removed completely:

  PYTHON_MASTER_SITE_SUBDIR
  PYTHON_DISTNAME
  PYTHON_WRKSRC

Several variables specific to the Python framework are no longer passed to the
build environment to avoid polluting dependency builds.

  PYTHON_VERSION is not passed to .MAKEFLAGS anymore
  PYTHON_DEFAULT_VERSION,
  PYTHON_DEFAULT_PORTVERSION and
  PYTHONBASE are not passed to the make environment anymore

The conversion required a couple of ports to be updated to fit the changes and
new requirements. Those included "bsd.python.mk" directly or contained checks
in places, for which the USES framework would fail to provide correct values.

Python modules directly using the upstream Python package (such as py-tkinter
or py-sqlite3) were updated to avoid using the now unnecessary and remmoved
knobs from "bsd.python.mk".

Phabric:	D399
exp-run:	167368 192357
PR:		167368 192357
Reviewed by:	antoine, wg
Exp-run award:	antoine
With hat:	python@
Approved by:	portmgr
2014-08-09 15:44:27 +00:00
Pietro Cerutti
636684cc5c - Convert to USES=tcl 2014-01-29 14:33:31 +00:00
Alexey Dokuchaev
a1c770272e - Stagify, reword COMMENT, drop ONLY_FOR_ARCHS: for broken cases, the port
should be marked accordingly instead
- Clean up Makefile and port description text while here
2014-01-29 13:03:16 +00:00
Baptiste Daroussin
4e0a12a4c9 Reduce over inclusions of bsd.port.mk
Remove license file for well known license
2014-01-15 23:40:29 +00:00
Baptiste Daroussin
36117d7097 Add NO_STAGE all over the place in preparation for the staging support (cat: databases) 2013-09-20 16:13:47 +00:00
Alex Kozlov
d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Pietro Cerutti
fef02240ea - Remove lang/tcl83 and x11-toolkits/tk83 (expired)
- Remove references to Tcl/Tk 8.3 from bsd.tcl.mk
- Update ports that required 8.3+ to require 8.4+ (since 8.5 is the
  default, I don't expect this change to cause much trouble)
2013-04-23 11:51:52 +00:00
Baptiste Daroussin
db910bd9bb Convert to new option framework 2012-06-12 06:26:43 +00:00
Martin Wilke
db2e3356a8 - Respect CXX (linking)
PR:		163229
Submitted by:	Jan Beich <jbeich@tormail.net>
2011-12-26 23:38:16 +00:00
Emanuel Haupt
1afcdd5eb1 Remove trailing whitespaces.
Feature safe:	yes
2011-11-18 23:30:13 +00:00
Martin Matuska
3f502c3647 Transfer maintainer back to ports@FreeBSD.org
Approved by:	maintainer (myself)
2011-08-09 15:41:30 +00:00
Martin Matuska
e3a244403e - Add LICENSE knob(s) 2011-03-23 15:53:22 +00:00
Martin Wilke
bb86cbe5d2 - Get Rid MD5 support 2011-03-20 12:54:45 +00:00
Martin Matuska
0bcde9db87 - Mark port MAKE_JOBS_SAFE 2009-03-23 12:18:31 +00:00
Martin Matuska
24bf28eff1 - Change default Tcl/Tk version to 8.5
- Bump PORTVERSION of ports affected

Tested by:	pointyhat (pav)
2009-02-23 14:46:37 +00:00
Martin Matuska
94ded2005c - Update to 2.4.9.7
- Introduce OPTIONS for python and tcl support
- Take advantage of USE_TCL
- Take maintainership
2009-01-05 13:49:47 +00:00
Jimmy Olgeni
b158ac3749 Compile and install metakit.pyo. 2008-09-27 22:40:04 +00:00
Michael Johnson
367a4a83c9 Add amd64 to ONLY_FOR_ARCHS (atleast sparc64 doesn't build) 2008-09-07 05:41:00 +00:00
Edwin Groothuis
b2052016ba Make use of the @rmtry macro 2008-04-19 01:17:57 +00:00
Pav Lucistnik
92b220fa9c - Move from versioned tcl/tk CATEGORIES to simple tcl and tk categories
With hat:	portmgr
2008-04-09 13:42:26 +00:00
Dirk Meyer
da50ed15b1 - fix objformat 2007-05-28 09:13:47 +00:00
Cheng-Lung Sung
4de56a776b - s,INSTALLS_SHLIB,USE_LDCONFIG,g
- these include comms/ converters/ databases/ devel/ maintained by ports@

PR:		ports/101916
Submitted by:	Gea-Suan Lin <gslin_AT_gslin dot org>
2006-08-14 22:55:18 +00:00
Edwin Groothuis
2406d49a61 Remove USE_REINPLACE from all categories starting with D 2006-05-04 21:41:12 +00:00
Ade Lovett
8503536d38 Conversion to a single libtool environment.
Approved by:	portmgr (kris)
2006-02-23 10:40:44 +00:00
Pav Lucistnik
aa1836b7e9 - Add SHA256 2005-11-24 01:23:57 +00:00
Pav Lucistnik
50ea67ed35 - Fix fetching. This could use an update. 2005-11-24 01:13:30 +00:00
Ade Lovett
54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00
Jeremy Messenger
9b31ca7603 Change the poing of compileall.py to check on directory from
${PYTHON_SITELIBDIR} to ${WRKSRC}/../python to avoid compileall.py to touch
other apps' *.py files or there will be many leftover of *.pyc files. Bump
the PORTREVISION.
2005-11-05 07:28:11 +00:00
Adam Weinberger
da5e912e2a Force generation of byte-compiled metakit python library so that kris
doesn't cry when he reads his email ;;)
2005-11-04 19:11:51 +00:00
Adam Weinberger
7b6bceda42 Oops... true is in /usr/bin, not /bin. 2005-09-12 13:12:50 +00:00
Doug Barton
22e7938325 In private mail adamw agreed that supporting the more generic
WITHOUT_PYTHON was a useful idea, and asked me to commit it for
him as he was not going to be able to get to it for a while.
2005-09-10 19:07:29 +00:00
Adam Weinberger
c4d66ff7f3 Python-dependent apps may cause metakit.py to be byte-compiled into
metakit.pyc. Remove this file if it exists.

Also, utilize %%PYTHON_SITELIBDIR%%.
2005-09-09 05:58:19 +00:00
Adam Weinberger
d799908a5e Actually convert *all* defined(METAKIT_WITH_PYTHON) instanced to
!defined(METAKIT_WITHOUT_PYTHON).

Previous commit obviously totally untested by:	me
2005-09-07 15:28:37 +00:00
Adam Weinberger
df6362a0c5 Default python support to ON. This means that if you DON'T want python
support, you must specify METAKIT_WITHOUT_PYTHON.

Reviewed by:	krion
2005-09-07 15:18:30 +00:00
Dirk Meyer
a9a5f10f85 - fix python build
PR:		74832
2004-12-08 06:03:16 +00:00
Dirk Meyer
55debb52d1 - drop maintainership 2004-07-19 05:15:28 +00:00
Joe Marcus Clarke
9e5632dd66 Apply a big libtool patch to allow porters to use the libtool installed by
the libtoolX ports instead of the one included with each port.  Ports that
set USE_LIBTOOL_VER=X will now use the ports version of libtool instead of
the included version.  To restore previous behavior, use the new macro,
USE_INC_LIBTOOL_VER.  Both macros accept the same argument: a libtool version.

For example, to use the ports version of libtool-1.5, add the following to
your Makefile:

USE_LIBTOOL_VER=        15

To use the included version of libtool with extra hacks provided by
libtool-1.5, add the following to your Makefile:

USE_INC_LIBTOOL_VER=    15

With this change, ports that had to add additional libtool hacks to prevent
.la files from being installed or to fix certain threading issues can now
delete those hacks (after appropriate testing, of course).

PR:		63944
Based on work by:eik and marcus
Approved by:	ade (autotools maintainer)
Tested by:	kris on pointyhat
Bound to be hidden problems:	You bet
2004-07-09 17:43:11 +00:00
Ade Lovett
2c577f8a04 Convert all but one port that uses libtool14 to use libtool15, in readiness
for the destruction of devel/libtool14
2004-03-24 20:59:17 +00:00
Dirk Meyer
84a12979e7 - update to 2.4.9.3
- fix a bunch of libtool problems after build and during installation.
2004-03-14 08:24:48 +00:00
Ade Lovett
3f651573ad Whoa there, boy, that's a mighty big commit y'all have there...
Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".

For ports-in-waiting:

	USE_LIBTOOL=YES		->	USE_LIBTOOL_VER=13
	USE_AUTOCONF=YES	->	USE_AUTOCONF_VER=213
	USE_AUTOMAKE=YES	->	USE_AUTOMAKE_VER=14

Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
2004-03-14 06:17:56 +00:00
Dirk Meyer
ace66a7230 - add SIZE 2004-02-26 04:58:34 +00:00
Dirk Meyer
8b588a6cec - remove BROKEN 2004-02-22 08:33:37 +00:00