Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devel/py-find-libpython: New port: Finds the libpython associated wit…
…h your environment
- Loading branch information
Showing
4 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1675492021 | ||
SHA256 (find_libpython-0.3.0.tar.gz) = 6e7fe5d9af7fad6dc066cb5515a0e9c90a71f1feb2bb2f8e4cdbb4f83276e9e5 | ||
SIZE (find_libpython-0.3.0.tar.gz) = 10754 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |