pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Add py-symbolic



Module Name:	pkgsrc-wip
Committed By:	Kethzer Docteur <kethzer.dr%gmail.com@localhost>
Pushed By:	kethzer.dr
Date:		Wed May 9 15:03:08 2018 -0400
Changeset:	f50f1e7ce82bed6fa5db9b675cecc744495ee9f6

Modified Files:
	Makefile
Added Files:
	py-symbolic/DESCR
	py-symbolic/Makefile
	py-symbolic/PLIST
	py-symbolic/distinfo

Log Message:
Add py-symbolic

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f50f1e7ce82bed6fa5db9b675cecc744495ee9f6

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile             |  1 +
 py-symbolic/DESCR    |  1 +
 py-symbolic/Makefile | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 py-symbolic/PLIST    |  1 +
 py-symbolic/distinfo |  6 ++++
 5 files changed, 103 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 22d9bdef5e..7a294a96f8 100644
--- a/Makefile
+++ b/Makefile
@@ -3799,6 +3799,7 @@ SUBDIR+=	py-sunpy
 SUBDIR+=	py-swiginac
 SUBDIR+=	py-sydent
 SUBDIR+=	py-symath
+SUBDIR+=	py-symbolic
 SUBDIR+=	py-symboltype
 SUBDIR+=	py-symcxx
 SUBDIR+=	py-symeig
diff --git a/py-symbolic/DESCR b/py-symbolic/DESCR
new file mode 100644
index 0000000000..810cf7443e
--- /dev/null
+++ b/py-symbolic/DESCR
@@ -0,0 +1 @@
+Library for dealing with symbol files and more
diff --git a/py-symbolic/Makefile b/py-symbolic/Makefile
new file mode 100644
index 0000000000..f0785c639c
--- /dev/null
+++ b/py-symbolic/Makefile
@@ -0,0 +1,94 @@
+# $NetBSD$
+
+DISTNAME=	symbolic-5.0.1
+PKGNAME=        ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	devel python
+MASTER_SITES=	${MASTER_SITE_PYPI:=s/symbolic/}
+EXTRACT_SUFX=	.zip
+
+MAINTAINER=	kethzer.dr%gmail.com@localhost
+HOMEPAGE=	https://github.com/getsentry/symbolic/
+COMMENT=	Library for dealing with symbol files and more
+LICENSE=	mit
+
+
+MAKE_ENV+=      RUSTFLAGS="-Clink-arg=${COMPILER_RPATH_FLAG}${PREFIX}/lib"
+
+DEPENDS+=       ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+DEPENDS+=       ${PYPKGPREFIX}-milksnake>=0.1.5:../../wip/py-milksnake
+DEPENDS+=       ${PYPKGPREFIX}-cffi>=1.11.5:../../devel/py-cffi
+DEPENDS+=       ${PYPKGPREFIX}-cparser>=2.18:../../devel/py-cparser
+BUILD_DEPENDS+=         cmake-[0-9]*:../../devel/cmake
+.include "../../mk/bsd.prefs.mk"
+
+#HAS_CONFIGURE=          yes
+CONFIGURE_ARGS+=        --prefix=${PREFIX}
+CONFIGURE_ARGS+=        --mandir=${PREFIX}/${PKGMANDIR}
+CONFIGURE_ARGS+=        --sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+=        --python=${PYTHONBIN}
+CONFIGURE_ARGS+=        --release-channel=stable
+CONFIGURE_ARGS+=       --enable-local-rust
+CONFIGURE_ARGS+=        --local-rust-root=${RUST_BOOTSTRAP_PATH}
+CONFIGURE_ARGS+=        --enable-extended       # Build and install cargo too.
+CONFIGURE_ARGS+=        --enable-rpath
+CONFIGURE_ARGS+=        --disable-codegen-tests
+CONFIGURE_ARGS+=        --disable-dist-src
+CONFIGURE_ARGS+=        --disable-llvm-static-stdcpp
+CONFIGURE_ARGS+=        --disable-ninja
+CONFIGURE_ARGS+=        --enable-vendor
+
+CONFIGURE_ARGS+=        --rustc=${PREFIX}/bin/rustc
+CONFIGURE_ARGS+=        --rustdoc=${PREFIX}/bin/rustdoc
+MAKE_ENV+=              OPENSSL_DIR=${BUILDLINK_PREFIX.openssl}
+MAKE_ENV+=              LIBGIT2_SYS_USE_PKG_CONFIG=1
+MAKE_ENV+=              VERBOSE=1
+
+UNLIMIT_RESOURCES+=     cputime
+
+#PYSETUP=                setup.py
+PYTHON_VERSIONS_ACCEPTED=       27
+
+CHECK_RELRO_SUPPORTED=  no
+
+GCC_REQD+=      	4.8
+USE_GCC_RUNTIME=	yes
+USE_LANGUAGES=		c c++ c++11
+USE_LIBTOOL=            yes
+USE_TOOLS+=             bash gmake perl:build pkg-config
+
+CMAKE_ARGS+=    -DLLVM_CONFIG=${LLVM_CONFIG_PATH}
+CMAKE_ARGS+=    -DCMAKE_BUILD_TYPE=Release
+CMAKE_ARGS+=    -DCMAKE_C_COMPILER=${CC:Q}
+CMAKE_ARGS+=    -DCMAKE_CXX_COMPILER=${CXX:Q}
+
+BUILDLINK_FNAME_TRANSFORM.NetBSD+=    rm:-Wl,--enable-new-dtags
+
+
+.if ${OPSYS} == "FreeBSD"
+MAKE_ENV+=              OPENSSL_DIR=${SSLBASE}
+.endif
+
+OPSYSVARS+=             SOEXT
+SOEXT.Darwin=           dylib
+SOEXT.*=                so
+
+EGG_NAME?=              ${DISTNAME}
+EGG_INFODIR?=           ${EGG_NAME}-py${PYVERSSUFFIX}.egg-info
+PLIST_SUBST+=           PYSITELIB=${PYSITELIB}
+PLIST_SUBST+=           EGG_NAME=${EGG_NAME}-py${PYVERSSUFFIX}
+PLIST_SUBST+=           EGG_INFODIR=${EGG_INFODIR}
+
+do-build:
+	cd ${WRKSRC} && ${PYTHONBIN} setup.py build
+
+do-install:
+	cd ${WRKSRC} && ${PYTHONBIN} setup.py install
+
+.include "../../lang/python27/buildlink3.mk"
+.include "../../devel/cmake/buildlink3.mk"
+.include "../../lang/python/tool.mk"
+#.include "../../lang/python/egg.mk"
+BUILDLINK_API_DEPENDS.rust+=     rust>=1.25.0
+.include "../../lang/rust/buildlink3.mk"
+.include "../../lang/python/tool.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-symbolic/PLIST b/py-symbolic/PLIST
new file mode 100644
index 0000000000..48d96a5493
--- /dev/null
+++ b/py-symbolic/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD$
diff --git a/py-symbolic/distinfo b/py-symbolic/distinfo
new file mode 100644
index 0000000000..7534f5c0f0
--- /dev/null
+++ b/py-symbolic/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (symbolic-5.0.1.zip) = e8e9bc237df39d13375a7b61c08f0367aa044c2a
+RMD160 (symbolic-5.0.1.zip) = 36c4518cd068061fc029e2cba7b76e06a662b0d3
+SHA512 (symbolic-5.0.1.zip) = cef51216baa6ba095af998131ec97be4c055ee59f64fd8f4d3ce5b5261bc0305041884eacc23e01a74e65498dc520ad636e8db0f1124e5ffe67ab481250d4e99
+Size (symbolic-5.0.1.zip) = 7390515 bytes


Home | Main Index | Thread Index | Old Index