From nobody Sat Feb 4 06:58:57 2023 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 4P83KF6TCxz3kn8T; Sat, 4 Feb 2023 06:58: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 4P83KF4F11z4Pbc; Sat, 4 Feb 2023 06:58:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675493937; 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=Q/BIjZq/IxEGuDUD1m0Y9r0KWvX0IX/GLu1v/rWLaNs=; b=iDi1cwekGRpOnlRyIxUHcskt+gnqQfyseCQcfwdDN4tkbgoMMC1+v8uKraLIRBsYpHmg8P zAXst8HCU00cVUubTUEPom5MjobpXIj28wPCgERLE0X6mie2xYwSGp6zJvGj/5LaXmYLBz Wd4tdzligYNNsn+MziPAfyRAuC7Ka2gYZzOqeM24ppnluZcnrWBqrGv0SBJNrJ5YtA5Jlz TWYv0WLkcwwg7/+T+niGSXCSt6XS/eSrMd6oC7jolOaNIP0ApqO6Zba4aeob++3xkjPSpQ 4hYQqY0pJgeEY+19c2scKEjoU5wLtRkAtwieLihit1jmkigQRZZ9JLVGLT/xKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675493937; 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=Q/BIjZq/IxEGuDUD1m0Y9r0KWvX0IX/GLu1v/rWLaNs=; b=sOHwmS3zNyRmMh9owpZ9c+p1bcF6oqYQ3f9xE6o69NM2s6iVVMYX+Bj/spqQO4o27HCHvb 5J5Xsm53RYHRr48Kr2cJO6OgiYOpeGu+j+UpJeX+jsbygk3u30NVHhb+/31i+eF19MRBlD yyfYcnr97DrzransGJ9lj0pG1h1KNpGuW1WZKLRVpomnkVSZFxicTHx234UVRbJuL7hhe1 J8F5Zfox9eS/XycGtIzgBJItaBV0tXZ56GB4Ak9sbD3mrlzQf36ndPM2Al4GriMtOZGDAt CaxJlbhLDUCtgJv3o5Rimz1vVey/sFSB43PulnvCcfH06tQuvX6/ORr0Zv6fww== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675493937; a=rsa-sha256; cv=none; b=c0oeZD18Noa9w5Gwq2tUtjdqMPUrhHpc5P2IIVauyLMWAJUXVrJzlLX91ZcuBsd4j7M784 ZTygvkznWYR9IXEcjDekEPmMhz0BYk4SmlsSH12NYWtCRz9CYa13BwhV6Jl6P/zNp5EmLN LWLbDFW9MBBmPBK/tG2fV6mz778G0ivufbTIyUkvLmL6QsUjzglVlBIx+AC//56fCYpMBo N6kzV/rJoqYPO4kxEYRoA493PbKBmgbO0hwYIMZPTqGp1JFmzCi3310mudUiXeJlKghmEg s26tvr+Tdo9Ws3oSfMDvoELqELdkrdo9HnVHnLUtf6GVLihJvPS25RiKmS8Vlw== 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 4P83KF3KKMz15B9; Sat, 4 Feb 2023 06:58:57 +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 3146wv0p008493; Sat, 4 Feb 2023 06:58:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3146wv1R008492; Sat, 4 Feb 2023 06:58:57 GMT (envelope-from git) Date: Sat, 4 Feb 2023 06:58:57 GMT Message-Id: <202302040658.3146wv1R008492@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 3604fc323528 - main - devel/py-find-libpython: New port: Finds the libpython associated with your environment 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3604fc3235289e9c35c6b94289d3db523f357aab Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=3604fc3235289e9c35c6b94289d3db523f357aab commit 3604fc3235289e9c35c6b94289d3db523f357aab Author: Yuri Victorovich AuthorDate: 2023-02-04 06:32:57 +0000 Commit: Yuri Victorovich CommitDate: 2023-02-04 06:58:52 +0000 devel/py-find-libpython: New port: Finds the libpython associated with your environment --- devel/Makefile | 1 + devel/py-find-libpython/Makefile | 25 +++++++++++++++++++++++++ devel/py-find-libpython/distinfo | 3 +++ devel/py-find-libpython/pkg-descr | 4 ++++ 4 files changed, 33 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 17d4d490dac4..a6797c883b2d 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4565,6 +4565,7 @@ SUBDIR += py-filedepot SUBDIR += py-filemagic SUBDIR += py-filetype + SUBDIR += py-find-libpython SUBDIR += py-findlibs SUBDIR += py-findpython SUBDIR += py-first diff --git a/devel/py-find-libpython/Makefile b/devel/py-find-libpython/Makefile new file mode 100644 index 000000000000..7bcb691dcbee --- /dev/null +++ b/devel/py-find-libpython/Makefile @@ -0,0 +1,25 @@ +PORTNAME= find-libpython +PORTVERSION= 0.3.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Finds the libpython associated with your environment +WWW= https://github.com/ktbarrett/find_libpython + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist pytest + +NO_ARCH= yes + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +.include diff --git a/devel/py-find-libpython/distinfo b/devel/py-find-libpython/distinfo new file mode 100644 index 000000000000..3b1881a6ab1f --- /dev/null +++ b/devel/py-find-libpython/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1675492021 +SHA256 (find_libpython-0.3.0.tar.gz) = 6e7fe5d9af7fad6dc066cb5515a0e9c90a71f1feb2bb2f8e4cdbb4f83276e9e5 +SIZE (find_libpython-0.3.0.tar.gz) = 10754 diff --git a/devel/py-find-libpython/pkg-descr b/devel/py-find-libpython/pkg-descr new file mode 100644 index 000000000000..eb6cabd99069 --- /dev/null +++ b/devel/py-find-libpython/pkg-descr @@ -0,0 +1,4 @@ +The find-libpython library is designed to find the path to the libpython dynamic +library for the current Python environment. It should work with many types of +installations, whether it be conda-managed, system-managed, or otherwise. And it +should function on Windows, Mac OS/OS X, and any Linux distribution.