aboutsummaryrefslogtreecommitdiff
path: root/databases/py-sqlite3/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Convert Python ports to FLAVORS.Mathieu Arnold2017-11-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=455210
* - Fix trailing whitespace in MakefilesDmitry Marakasov2016-05-191-1/+1
| | | | | | | Approved by: portmgr blanket Notes: svn path=/head/; revision=415501
* Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.Mathieu Arnold2016-04-011-1/+1
| | | | | | | | With hat: portmgr Sponsored by: Absolight Notes: svn path=/head/; revision=412346
* Add version specified ports of separated standard Python modules forLi-Wen Hsu2015-11-191-2/+2
| | | | | | | | | | | | | | | | | non-default Python versions: - Add pyXY-{sqlite3,gdbm,tkinter} ports for generating binary packages - Improve/add pkg-message to point users to install respective packages of separated Python standard modules - Add COMMENT to explicitly show the Python version that package should be used with - Simplify version-related PYTHON_* for lang/python35 Reviewed by: koobs Differential Revision: https://reviews.freebsd.org/D4170 Notes: svn path=/head/; revision=401909
* Switch PYTHON_REL from a 3 digits number to a 4 digits number to handleAntoine Brodin2015-05-261-1/+1
| | | | | | | | | | python 2.7.10 Differential Revision: https://reviews.freebsd.org/D2639 Reviewed by: sunpoet, mva Notes: svn path=/head/; revision=387491
* MASTER_SITES cleanup.Mathieu Arnold2015-05-141-2/+1
| | | | | | | | | | | | | | | | | | | | | | - Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight Notes: svn path=/head/; revision=386312
* databases/py-sqlite3: Strip shared libraryKubilay Kocak2015-02-111-3/+7
| | | | | | | | | | | | - Strip shared extension - Sort DIST* entries - Sort USE_PYTHON values - Add LICENSE_FILE Approved by: python (with hat) Notes: svn path=/head/; revision=378837
* - Convert to USES=pythonMarcus von Appen2014-09-281-4/+2
| | | | | | | With hat: python@ Notes: svn path=/head/; revision=369466
* Convert the Python framework bits to USES=python.Marcus von Appen2014-08-091-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=364450
* - Catch up with the recent lang/pythonXX changesMarcus von Appen2014-08-021-1/+1
| | | | | | | With hat: python@ Notes: svn path=/head/; revision=363791
* - Chase database/sqlite3 slib bumpMartin Wilke2014-06-271-1/+1
| | | | | | | Approved by: portmgr (myself) Notes: svn path=/head/; revision=359586
* - Add LICENSESunpoet Po-Chuan Hsieh2014-04-111-2/+4
| | | | | | | | - Pet portlint: use PYTHON_DISTNAME instead of PYTHON_DISTFILE - Use USES=tar:xz Notes: svn path=/head/; revision=350902
* Use setuptools for all Python ports.William Grzybowski2013-12-151-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setuptools is the preferred method to manage Python distributions after many changes to the packaging ecosystem over the past couple of years. Only ports using USE_PYDISTUTILS= yes are affected by this commit, ports using USE_PYDISTUTILS= easy_install remains the same however this usage is now deprecated and should be converted to USE_PYDISTUTILS= yes. Some Python distributions do not work with setuptools out of the box because they extend the install command from distutils and not setuptools, and so they need to be patched accordingly. pip (which leverages setuptools) works around the issue by using eggs, however we want to get rid of those as well, as support for "flat" installation is unavailable or has other issues associated with it. This work allows us to unify how python packages are built, ensure that Python distributions are installed consistently, reduces complexity for Python port maintainers and paves the way for simplifying the Python ports framework in the future. With hat on: python Reviewed by: koobs, antoine Exp-run: bdrewery Approved by: bdrewery (portmgr) Notes: svn path=/head/; revision=336553
* In preparation for making libtool generate libraries with a sane name, fix allBaptiste Daroussin2013-12-111-1/+1
| | | | | | | LIB_DEPENDS in databases Notes: svn path=/head/; revision=336187
* databases/py-sqlite3: Remove BROKEN on ARMKubilay Kocak2013-11-011-4/+0
| | | | | | | | | | | | - Remove BROKEN for ARM architecture [1] [1] http://lists.freebsd.org/pipermail/freebsd-python/2013-October/005960.html PR: ports/183549 Reported by: Xu Waycell <xw901103@gmail.com> Notes: svn path=/head/; revision=332358
* Add NO_STAGE all over the place in preparation for the staging support (cat: ↵Baptiste Daroussin2013-09-201-0/+1
| | | | | | | databases) Notes: svn path=/head/; revision=327717
* - Add PORTSCOUT=ignore:1 to avoid false alarmSunpoet Po-Chuan Hsieh2013-09-071-0/+2
| | | | Notes: svn path=/head/; revision=326661
* - Install standard libraries separated as other ports to the same placeLi-Wen Hsu2013-03-011-11/+10
| | | | | | | | | with other standard libraries (${PYTHON_LIBDIR}/lib-dynload) - Improve consistency of the Makefile(s) - Whitespace cleanup for the patches Notes: svn path=/head/; revision=313167
* - do not hardcode distfile extension for lang/python ports in bsd.python.mkRuslan Makhmatkhanov2012-10-031-0/+1
| | | | | | | | | | | | (PYTHON_DISTFILE variable) - switch lang/python ports (and it's slaves) to tar.xz I compared all the four pairs .tgz/.tar.xz and they have no content differences. Discussed on: python@ Notes: svn path=/head/; revision=305181
* Mark as broken on ARM.Mark Linimon2012-09-041-0/+4
| | | | | | | | | PR: ports/170946 Submitted by: linimon Hat: portmgr Notes: svn path=/head/; revision=303634
* - Don't define HAVE_LOAD_EXTENSION when sqlite3 is compiled with EXTENSIONMarcus von Appen2012-07-261-1/+1
| | | | | | | | | | option turned off PR: ports/156076 Submitted by: Pan Tsu <inyaoo@gmail.com> Notes: svn path=/head/; revision=301540
* - Remove stale pkg_messageWen Heping2011-10-131-4/+1
| | | | | | | | PR: ports/161535 Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru> Notes: svn path=/head/; revision=283474
* Deprecate md5 in favour of sha256 checksums. md5 checksums will no longerErwin Lansing2010-10-281-1/+1
| | | | | | | | | | | | | be generated or checked, and will be silently ignored for now. Also, generalize the MD5_FILE macro to DISTINFO_FILO. PR: 149657 Submitted by: rene Approved by: portmgr Tested on: pointyhat i386 7-exp Notes: svn path=/head/; revision=263705
* - Fix building with python3*Li-Wen Hsu2009-06-301-2/+8
| | | | | | | | - Use checksum file under lang/python${PYTHON_SUFFIX}/, for removal lang/python/distinfo Notes: svn path=/head/; revision=236835
* - Make Python 2.5.1 the default Python versionAlexander Botero-Lowry2007-07-301-1/+3
| | | | | | | | | | | | | - 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 Notes: svn path=/head/; revision=196700
* Now appears to buildKris Kennaway2007-03-301-4/+0
| | | | Notes: svn path=/head/; revision=188801
* Schedule these broken ports for removal on 2007-04-10 if they are stillKris Kennaway2007-02-111-0/+2
| | | | | | | broken at that time and no fix has been submitted. Notes: svn path=/head/; revision=184837
* BROKEN: Incomplete pkg-plistKris Kennaway2006-10-121-0/+2
| | | | | | | Approved by: portmgr (self) Notes: svn path=/head/; revision=175227
* Make setup not to install an egg info file which isn't needed forHye-Shik Chang2006-08-071-0/+1
| | | | | | | standard modules. Notes: svn path=/head/; revision=169882
* Add new port for python sqlite3 module.Hye-Shik Chang2006-06-231-0/+34
This port installs a Python "standard" library version of pysqlite which is provided by databases/py-pysqlite22 already. Because sqlite3 module was introduced in Python 2.5, this port plays only for 2.5 or laters. See Also: http://docs.python.org/dev/lib/module-sqlite3.html Notes: svn path=/head/; revision=166074