Skip to content

Commit

Permalink
py-pydicom: New package.
Browse files Browse the repository at this point in the history
  • Loading branch information
eborisch committed Oct 31, 2018
1 parent 7bf3dbb commit 0c92063
Show file tree
Hide file tree
Showing 4 changed files with 465 additions and 0 deletions.
6 changes: 6 additions & 0 deletions biology/py-pydicom/DESCR
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Pydicom is a pure Python package for working with DICOM files such as medical
images, reports, and radiotherapy objects.

Pydicom makes it easy to read these complex files into natural pythonic
structures for easy manipulation. Modified datasets can be written again to
DICOM format files.
29 changes: 29 additions & 0 deletions biology/py-pydicom/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# $NetBSD$

DISTNAME= pydicom-1.2.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= graphics python
MASTER_SITES= ${MASTER_SITE_GITHUB:=pydicom/}
GITHUB_PROJECT= pydicom
GITHUB_TAG= v${PKGVERSION_NOREV}

MAINTAINER= eborisch@gmail.com
HOMEPAGE= https://github.com/pydicom/pydicom/
COMMENT= Pure python package for working with DICOM files
LICENSE= modified-bsd AND mit

USE_LANGUAGES= # none

DOCDIR= share/doc/${PKGBASE}
PLIST_SUBST+= DOCDIR=${DOCDIR:Q}
INSTALLATION_DIRS+= ${DOCDIR}

post-extract:
chmod a-x ${WRKSRC}/pydicom/data/test_files/*.dcm

post-install:
${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${PREFIX}/${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/${DOCDIR}

.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Loading

0 comments on commit 0c92063

Please sign in to comment.