Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

py-pydicom: New package. #37

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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= 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