4e91b48537
3.3: - added support for Python 3.9 - added CLI command ``roman`` with ``-r/--reverse`` to convert back from Roman - added simple usage instructions
22 lines
589 B
Makefile
22 lines
589 B
Makefile
# $NetBSD: Makefile,v 1.12 2020/07/12 17:50:29 adam Exp $
|
|
|
|
DISTNAME= roman-3.3
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= math python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=r/roman/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/zopefoundation/roman
|
|
COMMENT= Integer to Roman numerals converter for Python
|
|
LICENSE= python-software-foundation
|
|
|
|
CONFLICTS+= ${PYPKGPREFIX}-docutils<=0.7
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} roman roman-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|