Port details |
- py-dj-database-url Use Database URLs in your Django Application
- 1.2.0 www
=0 Version of this port present on the latest quarterly branch. - Maintainer: kai@FreeBSD.org
 - Port Added: 2022-02-20 10:45:15
- Last Update: 2023-01-11 15:58:34
- Commit Hash: 77d6847
- Also Listed In: python
- License: MIT
- Description:
- This simple Django utility allows you to utilize the 12factor inspired
DATABASE_URL environment variable to configure your Django application.
The dj_database_url.config method returns a Django database connection
dictionary, populated with all the data specified in your URL. There is
also a conn_max_age argument to easily enable Djangoâs connection pool.
If youâd rather not use an environment variable, you can pass a URL in
directly instead to dj_database_url.parse.
Supported Databases:
Support currently exists for PostgreSQL, PostGIS, MySQL, MySQL (GIS),
Oracle, Oracle (GIS), and SQLite.
¦ ¦ ¦ ¦ 
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}dj-database-url>0:www/py-dj-database-url@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/www/py-dj-database-url/ && make install clean
- To add the package, run one of these commands:
- pkg install www/py-dj-database-url
- pkg install py39-dj-database-url
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-dj-database-url listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-dj-database-url
- Package flavors (<flavor>: <package>)
- py39: py39-dj-database-url
- distinfo:
- TIMESTAMP = 1671440171
SHA256 (dj-database-url-1.2.0.tar.gz) = b23b15046cb38180e0c95207bcc90fe5e9dbde8eef16065907dd85cf4ca7036c
SIZE (dj-database-url-1.2.0.tar.gz) = 7310
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- www/py-django-dpaste
Configuration Options:
- No options to configure
- Options name:
- www_py-dj-database-url
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Notes from UPDATING |
- These upgrade notes are taken from /usr/ports/UPDATING
- 2017-11-30
Affects: */py* Author: mat@FreeBSD.org Reason:
Ports using Python via USES=python are now flavored. All the py3-* ports
have been removed and folded into their py-* master ports.
People using Poudriere 3.2+ and binary packages do not have to do anything.
For other people, to build the Python 3.6 version of, for example,
databases/py-gdbm, you need to run:
# make FLAVOR=py36 install
|
Number of commits found: 6
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.2.0 11 Jan 2023 15:58:34
    |
Dmitry Marakasov (amdmi3)  |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
1.2.0 20 Dec 2022 09:16:45
    |
Kai Knoblich (kai)  |
www/py-dj-database-url: Update to 1.2.0
Changelog since 1.0.0:
https://github.com/jazzband/dj-database-url/compare/v1.0.0...v1.2.0 |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
1.0.0 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
1.0.0 09 Aug 2022 10:56:06
    |
Kai Knoblich (kai)  |
www/py-dj-database-url: Update to 1.0.0
* Upstream repository got a new maintainer thus update the WWW field
accordingly.
Changelog:
https://github.com/jazzband/dj-database-url/releases/tag/v1.0.0 |
0.5.0 20 Feb 2022 10:42:42
    |
Kai Knoblich (kai)  |
www/py-dj-database-url: Add new port
This simple Django utility allows you to utilize the 12factor inspired
DATABASE_URL environment variable to configure your Django application.
The dj_database_url.config method returns a Django database connection
dictionary, populated with all the data specified in your URL. There is
also a conn_max_age argument to easily enable Django’s connection pool.
If you’d rather not use an environment variable, you can pass a URL in
directly instead to dj_database_url.parse.
Supported Databases:
Support currently exists for PostgreSQL, PostGIS, MySQL, MySQL (GIS),
Oracle, Oracle (GIS), and SQLite.
WWW: https://github.com/kennethreitz/dj-database-url |
Number of commits found: 6
|