Skip to content

Commit

Permalink
cad/{,py-}gdstk: update 0.9.42 → 0.9.46
Browse files Browse the repository at this point in the history
Reported by:	portscout
  • Loading branch information
yurivict committed Oct 15, 2023
1 parent 9a220b1 commit 5f682b0
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 48 deletions.
6 changes: 5 additions & 1 deletion cad/gdstk/Makefile
@@ -1,6 +1,6 @@
PORTNAME= gdstk
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.42
DISTVERSION= 0.9.46
CATEGORIES= cad

MAINTAINER= yuri@FreeBSD.org
Expand All @@ -10,11 +10,15 @@ WWW= https://heitzmann.github.io/gdstk/
LICENSE= BSL
LICENSE_FILE= ${WRKSRC}/LICENSE

LIB_DEPENDS= libqhull_r.so:math/qhull

USES= cmake compiler:c++11-lang

USE_GITHUB= yes
GH_ACCOUNT= heitzmann

CMAKE_ON= BUILD_SHARED_LIBS

CONFLICTS_INSTALL= misc/vxl # both install lib/libclipper.so

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions cad/gdstk/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1693211997
SHA256 (heitzmann-gdstk-v0.9.42_GH0.tar.gz) = 303c6fc4b1de91091c776da928ae71ef0fcfc1b86ed1d1aacae4e2339968d5b4
SIZE (heitzmann-gdstk-v0.9.42_GH0.tar.gz) = 629280
TIMESTAMP = 1697306396
SHA256 (heitzmann-gdstk-v0.9.46_GH0.tar.gz) = 3a2538e0a530a6bd112b528fd436807091335d21fdfde718cd08583052793e3a
SIZE (heitzmann-gdstk-v0.9.46_GH0.tar.gz) = 363141
11 changes: 0 additions & 11 deletions cad/gdstk/files/patch-CMakeLists.txt

This file was deleted.

55 changes: 29 additions & 26 deletions cad/gdstk/pkg-plist
@@ -1,28 +1,31 @@
include/gdstk.h
include/gdstk/allocator.h
include/gdstk/array.h
include/gdstk/cell.h
include/gdstk/clipper_tools.h
include/gdstk/curve.h
include/gdstk/flexpath.h
include/gdstk/font.h
include/gdstk/gdsii.h
include/gdstk/gdswriter.h
include/gdstk/label.h
include/gdstk/library.h
include/gdstk/map.h
include/gdstk/oasis.h
include/gdstk/pathcommon.h
include/gdstk/polygon.h
include/gdstk/property.h
include/gdstk/rawcell.h
include/gdstk/reference.h
include/gdstk/repetition.h
include/gdstk/robustpath.h
include/gdstk/set.h
include/gdstk/sort.h
include/gdstk/style.h
include/gdstk/utils.h
include/gdstk/vec.h
include/clipper/clipper.hpp
include/gdstk/allocator.hpp
include/gdstk/array.hpp
include/gdstk/cell.hpp
include/gdstk/clipper_tools.hpp
include/gdstk/curve.hpp
include/gdstk/flexpath.hpp
include/gdstk/font.hpp
include/gdstk/gdsii.hpp
include/gdstk/gdstk.hpp
include/gdstk/gdswriter.hpp
include/gdstk/label.hpp
include/gdstk/library.hpp
include/gdstk/map.hpp
include/gdstk/oasis.hpp
include/gdstk/pathcommon.hpp
include/gdstk/polygon.hpp
include/gdstk/property.hpp
include/gdstk/rawcell.hpp
include/gdstk/reference.hpp
include/gdstk/repetition.hpp
include/gdstk/robustpath.hpp
include/gdstk/set.hpp
include/gdstk/sort.hpp
include/gdstk/style.hpp
include/gdstk/tagmap.hpp
include/gdstk/utils.hpp
include/gdstk/vec.hpp
lib/libclipper.so
lib/libgdstk.so
libdata/pkgconfig/gdstk.pc
15 changes: 11 additions & 4 deletions cad/py-gdstk/Makefile
@@ -1,7 +1,8 @@
PORTNAME= gdstk
DISTVERSION= 0.9.42
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.46
CATEGORIES= cad
MASTER_SITES= PYPI
#MASTER_SITES= PYPI # build fails from PYPI: https://github.com/heitzmann/gdspy/issues/236
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= yuri@FreeBSD.org
Expand All @@ -15,11 +16,17 @@ BUILD_DEPENDS= cmake:devel/cmake-core \
${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \
${PYNUMPY}
LIB_DEPENDS= libqhull_r.so:math/qhull

USES= compiler:c++11-lang python
USE_PYTHON= pep517 autoplist
USE_PYTHON= pep517 autoplist pytest # tests fail to run, see https://github.com/heitzmann/gdspy/issues/237

USE_GITHUB= yes
GH_ACCOUNT= heitzmann

TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}

post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/gdstk${PYTHON_EXT_SUFFIX}.so
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/gdstk/gdstk${PYTHON_EXT_SUFFIX}.so

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions cad/py-gdstk/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1693240074
SHA256 (gdstk-0.9.42.tar.gz) = bd7ab2f72e50df3ca396e94b82c202a4dfbef1e1206ab6d371d961ab12edfa97
SIZE (gdstk-0.9.42.tar.gz) = 513544
TIMESTAMP = 1697344042
SHA256 (heitzmann-gdstk-v0.9.46_GH0.tar.gz) = 3a2538e0a530a6bd112b528fd436807091335d21fdfde718cd08583052793e3a
SIZE (heitzmann-gdstk-v0.9.46_GH0.tar.gz) = 363141

0 comments on commit 5f682b0

Please sign in to comment.