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 06e69d1
Show file tree
Hide file tree
Showing 4 changed files with 462 additions and 0 deletions.
6 changes: 6 additions & 0 deletions graphics/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.
26 changes: 26 additions & 0 deletions graphics/py-pydicom/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# $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-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 06e69d1

Please sign in to comment.