Commit graph

19 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
Rene Ladan
23f023c027 databases/py-forgetsql: update psycopg dependency to psycopg2, the former
has expired.
2016-05-29 21:31:12 +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
Dmitry Marakasov
05659f6b81 - Add LICENSE
- Switch to options helpers
- Add NO_ARCH
- Regenerate patches with `make makepatch`

Approved by:	portmgr blanket
2015-12-25 14:41:40 +00:00
Baptiste Daroussin
3edc030b9f Cleanup plist 2014-10-20 10:41:12 +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
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
Marcus von Appen
3ca507ce12 - Convert to PYDISTUTILS_AUTOPLIST
- Enable stage support
- Limit to the supported python versions
- Change to new LIB_DEPENDS where necessary
- Switch to new OPTIONS framework where necessary
2013-09-28 11:13:15 +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
Emanuel Haupt
f760c11728 Remove WWW entries from unmaintained ports that return 404 or where the domain
disappeared.
2011-08-02 20:58:23 +00:00
Martin Wilke
bb86cbe5d2 - Get Rid MD5 support 2011-03-20 12:54:45 +00:00
Li-Wen Hsu
f41f265e39 - Chease databases/py-MySQLdb update 2010-10-09 09:34:15 +00:00
Dmitry Marakasov
075acacd24 - Switch SourceForge ports to the new File Release System: categories starting with D 2009-08-22 00:18:43 +00:00
Alexander Botero-Lowry
4942ce5a7d - Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:	pointyhat runs
Approved by:	pav (portmgr)
Most work by:	perky
Thanks to:	pav
2007-07-30 09:42:28 +00:00
Anders Nordby
f7629b3945 Drop maintainership of ports added due to NAV (net-mgmt/nav), which
I do not maintain anymore.
2007-06-03 20:15:41 +00:00
Edwin Groothuis
acd87b4ad8 SHA256ify
Approved by:    krion@
2006-01-22 08:34:46 +00:00
Anders Nordby
7ec0a5a30f Add forgetSQL, a Python module for object-oriented access to SQL
databases. Supports MySQL and PostgreSQL currently.

Sponsored by:	University of Tromsø
2004-11-20 17:07:29 +00:00