Commit graph

14 commits

Author SHA1 Message Date
Mathieu Arnold
4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00
Antoine Brodin
f7455240e3 Reduce dependency on the python2 metaport
PR:		225752
Submitted by:	Yasuhiro KIMURA
2018-02-19 11:10:43 +00:00
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
Mathieu Arnold
4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00
Marcus von Appen
e1555011ab - Convert ports from databases/ and deskutils/ to new USES=python
Approved by:	portmgr (implicit)
2014-10-19 08:50:17 +00:00
Baptiste Daroussin
4a4ec28d37 Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)

bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore

Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier

With hat:	portmgr
2014-05-05 09:45:36 +00:00
Kubilay Kocak
c0f6bf7a97 databases/py-htsql[-*] Modernise: STAGE and AUTOPLIST
For py-htsql, py-htsql-mysql and py-htsql-pgsql:

- Enable STAGE support
- Enable AUTOPLIST support, delete pkg-plist accordingly
- Deprecate easy_install target
- Deprecate PYDISTUTILS_PKGNAME
- Add LICENSE (AGPLv3)
- Bump PORTREVISION
2014-02-03 09:56:19 +00:00
Baptiste Daroussin
56fcf8379f Fix properties on pkg-plist 2014-01-21 23:18:05 +00:00
Rene Ladan
50f8eaece1 Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
2014-01-13 21:00:02 +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
Kubilay Kocak
d60158d113 databases/py-htsql & backends: Update to 2.3.3
- Standardise and clarify COMMENTs
- Update pkg-plist's
- Tab->space for WWW: in pkg-descr

Changes: http://htsql.org/blog/2013/htsql-2.3.3.html

Approved:	eadler, rm (mentors, implicit)
2013-04-28 14:34:12 +00:00
Kubilay Kocak
d95c946543 Update MAINTAINER address for all my ports. While I'm here,
standardise and canonicalise Makefile header format and contents.

Approved by:	eadler (mentor)
2013-02-09 14:50:27 +00:00
Frederic Culot
8a21461cf0 - Update to 2.3.2
PR:		ports/172543
Submitted by:	Kubilay Kocak <koobs.freebsd@gmail.com> (maintainer)
Feature safe:	yes
2012-10-11 13:03:18 +00:00
Nicola Vitale
ebff4a8f7d HTSQL ("Hyper Text Structured Query Language") is a high-level query
language for relational databases. The target audience for HTSQL is the
accidental programmer -- one who is not a SQL expert, yet needs a usable,
comprehensive query tool for data access and reporting.

This port provides the MySQL backend to HTSQL

WWW:	http://htsql.org/

RedPorts Log:	https://redports.org/buildarchive/20120714112050-51475/

PR:		ports/169853
Submitted by:	koobs <koobs.freebsd@gmail.com>
2012-07-23 12:52:24 +00:00