Skip to content

Commit

Permalink
py-pydicom: Import py-pydicom-1.2.0 as biology/py-pydicom
Browse files Browse the repository at this point in the history
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.

Packaged by Eric A. Borisch via #37, thank you Eric!
  • Loading branch information
iamleot committed Oct 31, 2018
1 parent 957f238 commit 3f7a18e
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: Makefile,v 1.1 2018/10/31 20:15:40 leot Exp $

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

MAINTAINER= [email protected]
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 3f7a18e

Please sign in to comment.