From nobody Fri Feb 07 21:19:11 2025 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 4YqRg43P2sz5msfJ; Fri, 07 Feb 2025 21:19:12 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YqRg34C6Kz47TM; Fri, 07 Feb 2025 21:19:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738963151; 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=5INkxgMuAuoPh3TCYfaYEZpAmI92ilVghrmAKE4uORs=; b=Xj+GKJzvnVBAMytkIjLvG2OZ/0Zx6+40JhoZUeeFvY4rimeSyIxGqAc6QFVm3VXNoo0qLB lyVKcEuCaohbZ5+3qREnIbT40EWguMagXZlduqtmJjRB7dDkdhJp2ohz+n76gIW04iKI6H HwxlHqbfyJe8Wpa2kphqc7LOHJelCrB+owLgwT/AZKVxOi8pWhsjWyQvm+tbEA+eTZPtzP Iqk+KwGh3bLt+K57fmg+Sod7OAm1Qx6olgpbFjTw948vOhnhCUDqnQifK4cq+Nyx9Ov7T/ roIbDv+U73iEMO3m9OcnVApoxa30W0IN9J+vf0tk5PES6HKLQkoWUg7hCxQrCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738963151; 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=5INkxgMuAuoPh3TCYfaYEZpAmI92ilVghrmAKE4uORs=; b=XInmNGCU9XPheVCZEAexnGxvdbDcbP5G+RJMOI3xAKlz0QjJHe413Lz2q3B5GHYERUkFvV kASBT9ABDUdT3WHoWyMZ34aJQvwr+Wo2uIELYkWSrRDKwxsxB6FTZ516n22VhGv+rOFNta twwW7VQchvZ5H7QAonIoqJVOQ8hO+yiiZRx0fVPQAeab4LmERFuE3w6ZHn2eMDDtmMwbLP 84xdwODKWbaMLxKSxdI8Kw8Sr+QQkA2Kkkmv55wen6gDqkohOIImjIPCpFRBa2EKrHSOTL +OxbUCW2TMkdpgYsqDTNAFxD5evElAYCVR12G17eIuJdm+xMiiL6wdIOkNSTxA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1738963151; a=rsa-sha256; cv=none; b=AeJT1IS3jNwjXa26ykDd9Ni1EF7cWVuaJu32PmqC5ZtFotcYdjOV8C/Axj9d/S+PFPPKQd 43virvEzrIlTiSJ7y2MWqmsiFJdLZTuOXa63EaD9KRLgL44xC2S6gjUFmRCas1lcLtai4A 4K1LQ+O7C6O2eD9HK7hMV4FmmV9X1+Cx1FIlMfSBtMaonINyjU4yPf5dEEqa3lDSxkinhy QgTVzWe6QPIN6tGcVYBNpZEc1Ex+tD1pAVaJzItL8fee16SwwSYKAIhVpcwiMWFSoNarXQ Q9kUbRUgBA5SQ3gTZtY/1W8lUp0bjTpWK4mLkccrwMptHfWliSgW3/qu1KjeXg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YqRg33pqdzhlY; Fri, 07 Feb 2025 21:19:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 517LJB9P037563; Fri, 7 Feb 2025 21:19:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 517LJBIE037560; Fri, 7 Feb 2025 21:19:11 GMT (envelope-from git) Date: Fri, 7 Feb 2025 21:19:11 GMT Message-Id: <202502072119.517LJBIE037560@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 754664fa6f89 - main - www/py-django-stubs-ext: Add py-django-stubs-ext 5.1.2 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 754664fa6f890d56e4f06ec21def63e0ee8ae2d6 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=754664fa6f890d56e4f06ec21def63e0ee8ae2d6 commit 754664fa6f890d56e4f06ec21def63e0ee8ae2d6 Author: Po-Chuan Hsieh AuthorDate: 2025-02-07 20:08:53 +0000 Commit: Po-Chuan Hsieh CommitDate: 2025-02-07 21:15:50 +0000 www/py-django-stubs-ext: Add py-django-stubs-ext 5.1.2 django-stubs contains type stubs and a custom mypy plugin to provide more precise static types and type inference for Django framework. Django uses some Python "magic" that makes having precise types for some code patterns problematic. This is why we need this project. The final goal is to be able to get precise types for most common patterns. --- www/Makefile | 1 + www/py-django-stubs-ext/Makefile | 25 +++++++++++++++++++++++++ www/py-django-stubs-ext/distinfo | 3 +++ www/py-django-stubs-ext/pkg-descr | 5 +++++ 4 files changed, 34 insertions(+) diff --git a/www/Makefile b/www/Makefile index 7e99906b4163..2c6710b435cf 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1624,6 +1624,7 @@ SUBDIR += py-django-statici18n SUBDIR += py-django-staticinline SUBDIR += py-django-storages + SUBDIR += py-django-stubs-ext SUBDIR += py-django-tables2 SUBDIR += py-django-tagging SUBDIR += py-django-taggit diff --git a/www/py-django-stubs-ext/Makefile b/www/py-django-stubs-ext/Makefile new file mode 100644 index 000000000000..4c58c967fe1e --- /dev/null +++ b/www/py-django-stubs-ext/Makefile @@ -0,0 +1,25 @@ +PORTNAME= django-stubs-ext +PORTVERSION= 5.1.2 +CATEGORIES= www python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= django_stubs_ext-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Monkey-patching and extensions for django-stubs +WWW= https://github.com/typeddjango/django-stubs + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=0:www/py-django42@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/www/py-django-stubs-ext/distinfo b/www/py-django-stubs-ext/distinfo new file mode 100644 index 000000000000..f752dfe2bb69 --- /dev/null +++ b/www/py-django-stubs-ext/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1738606369 +SHA256 (django_stubs_ext-5.1.2.tar.gz) = 421c0c3025a68e3ab8e16f065fad9ba93335ecefe2dd92a0cff97a665680266c +SIZE (django_stubs_ext-5.1.2.tar.gz) = 9629 diff --git a/www/py-django-stubs-ext/pkg-descr b/www/py-django-stubs-ext/pkg-descr new file mode 100644 index 000000000000..544fd8d1f497 --- /dev/null +++ b/www/py-django-stubs-ext/pkg-descr @@ -0,0 +1,5 @@ +django-stubs contains type stubs and a custom mypy plugin to provide more +precise static types and type inference for Django framework. Django uses some +Python "magic" that makes having precise types for some code patterns +problematic. This is why we need this project. The final goal is to be able to +get precise types for most common patterns.