From nobody Sun Feb 20 10:42:56 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0D53419C81E0; Sun, 20 Feb 2022 10:42:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K1hpm6Qt7z4bdG; Sun, 20 Feb 2022 10:42:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645353776; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9Ffr7MEEFwtH2KhcchzR+N1MeZ+ai+RuPPEZmZPh7L0=; b=nmjiWVKog05q5bkSwygqg1/cGyas0V3XYtiZFBdfiHpXIcCNaCkjL4jM4V2d7sYFPecTl5 DuT1JOJQk3GEbmzxwYcy0mLt6E0dK114phX+Anpx6BVkXuY3ODriwooLBv0bxMTEhK2KG7 prwNNy5NgiS8tsJJxbprW5ORMuGBYnTk8ltWVN8qAvoVYwTGrJlHk2bUsge5stJwjBVR9F SUaJis7PBH1qggIEp38AWnjqSi7BOauRxynNBYToQmqpu0qSXnO8kupKICUo9PT4aw1KQt mrwf+6+bC+VkxYsW27w1ej949Y+3D6NA5vLuP4lUBunW+V8TPg0gdNeVKc+6bg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9C9BA1B3BB; Sun, 20 Feb 2022 10:42:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 21KAguRZ004781; Sun, 20 Feb 2022 10:42:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21KAguMo004780; Sun, 20 Feb 2022 10:42:56 GMT (envelope-from git) Date: Sun, 20 Feb 2022 10:42:56 GMT Message-Id: <202202201042.21KAguMo004780@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kai Knoblich Subject: git: 5042b00226c3 - main - www/py-dj-database-url: Add new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kai X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5042b00226c3e3fc908b0402f7ffefe66e4520d7 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645353776; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9Ffr7MEEFwtH2KhcchzR+N1MeZ+ai+RuPPEZmZPh7L0=; b=Vcxlpe/ydZrRzhiJRKJbanb+4/gdWWY9Y17h4KNMSpSg3oyOP48hRf5/CBfJpNYNTjLVvl uONP0GxcD1nt7R4tvhG8QgmZISI128HZg2npSvAQoSKhYq3lMw0rvoL4KjZRk54a4WdaGh SBGrYLfKqfJCAGMKdoY+1Oi+LWIZqkK0/AJiOFq/hqI8HhKp630h94FIEstLTKm8xWgv2q BJnC9kMV8V6zrJUK85J9Q8CXSJQ5fu9hNPC7U/Co2xlr5la6DyRz7TOcvt4QmGO845d8rZ arwl4Er4UVYX+cL4HARh33ert2KA5tUdgv5BjrQ2f733+5C7eLBBDPc13cPKsQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645353776; a=rsa-sha256; cv=none; b=Vqfnf8CuNZK+w6zheHDA09bq3VAnnrKKFi0Dc4g550Won2xUBT2Rksj/6Wi8QIp2GqN/5H fBur0ZrMlLiipedso947PMZRF2P9P0INMHCMY5zpt9LEkyRybIrlQMAoOWKs+p40Kc8LlQ du/EpquvHwFv0fK8i3jOBMFDGpBq79vbNkOxW5OcVhHh1iU0qoogFpgLiidQDgsUuMc7jK 4P1z4HZgIY+BKiW371FF/NksvjDhGvf82aJmTFEdb3rqUsDBat38R+6hOnV1oq+XyxTpYe CLwx3S6YLUrMMroDDpspbVe4pOlDnWN015JJkM8oYgZGQlWT9btZpmiuxv5EmA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=5042b00226c3e3fc908b0402f7ffefe66e4520d7 commit 5042b00226c3e3fc908b0402f7ffefe66e4520d7 Author: Kai Knoblich AuthorDate: 2022-02-20 10:38:00 +0000 Commit: Kai Knoblich CommitDate: 2022-02-20 10:42:42 +0000 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 --- www/Makefile | 1 + www/py-dj-database-url/Makefile | 18 ++++++++++++++++++ www/py-dj-database-url/distinfo | 3 +++ www/py-dj-database-url/pkg-descr | 16 ++++++++++++++++ 4 files changed, 38 insertions(+) diff --git a/www/Makefile b/www/Makefile index 89924d89b41e..7429efe29ab0 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1450,6 +1450,7 @@ SUBDIR += py-cssmin SUBDIR += py-cssselect SUBDIR += py-cssutils + SUBDIR += py-dj-database-url SUBDIR += py-dj32-django-auth-ldap SUBDIR += py-dj32-django-cacheops SUBDIR += py-dj32-django-cors-headers diff --git a/www/py-dj-database-url/Makefile b/www/py-dj-database-url/Makefile new file mode 100644 index 000000000000..14085cc7f820 --- /dev/null +++ b/www/py-dj-database-url/Makefile @@ -0,0 +1,18 @@ +PORTNAME= dj-database-url +DISTVERSION= 0.5.0 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= kai@FreeBSD.org +COMMENT= Use Database URLs in your Django Application + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include diff --git a/www/py-dj-database-url/distinfo b/www/py-dj-database-url/distinfo new file mode 100644 index 000000000000..3cad7fa94da2 --- /dev/null +++ b/www/py-dj-database-url/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1644813619 +SHA256 (dj-database-url-0.5.0.tar.gz) = 4aeaeb1f573c74835b0686a2b46b85990571159ffc21aa57ecd4d1e1cb334163 +SIZE (dj-database-url-0.5.0.tar.gz) = 5482 diff --git a/www/py-dj-database-url/pkg-descr b/www/py-dj-database-url/pkg-descr new file mode 100644 index 000000000000..c4b1c4d33c2e --- /dev/null +++ b/www/py-dj-database-url/pkg-descr @@ -0,0 +1,16 @@ +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