hi there,

use setuptools, take maintainership,
dont install HISTORY.rst, update
license, contains external libs.

please review and commit.

-f
-- 
anything is possible, unless it's not.
diff -x CVS -urNP /usr/ports/devel/py-clint/Makefile 
/home/f/src/mystuff/devel/py-clint/Makefile
--- /usr/ports/devel/py-clint/Makefile  Fri Mar  8 13:10:08 2013
+++ /home/f/src/mystuff/devel/py-clint/Makefile Fri Mar  8 17:19:02 2013
@@ -1,27 +1,33 @@
-# $OpenBSD: Makefile,v 1.2 2013/03/08 10:27:05 jasper Exp $
+# $OpenBSD$
 
-COMMENT=               Command-Line Application Tools
+COMMENT =              command line interface tools for Python
 
-MODPY_EGG_VERSION=     0.3.1
-DISTNAME=              clint-${MODPY_EGG_VERSION}
-PKGNAME=               py-${DISTNAME}
-REVISION=              0
-CATEGORIES=            devel
+MODPY_EGG_VERSION =    0.3.1
+DISTNAME =             clint-${MODPY_EGG_VERSION}
+PKGNAME =              py-${DISTNAME}
+REVISION =             1
+CATEGORIES =           devel
 
-# BSD
-PERMIT_PACKAGE_CDROM=  Yes
-PERMIT_PACKAGE_FTP=    Yes
-PERMIT_DISTFILES_CDROM= Yes
-PERMIT_DISTFILES_FTP=  Yes
+HOMEPAGE =             https://github.com/kennethreitz/clint
+MAINTAINER =           frantisek holop <min...@obiit.org>
 
-MASTER_SITES=          ${MASTER_SITE_PYPI:=c/clint/}
+# ISC, BSD
+PERMIT_PACKAGE_CDROM = Yes
+PERMIT_PACKAGE_FTP =   Yes
+PERMIT_DISTFILES_FTP = Yes
 
-MODULES=               lang/python
+MASTER_SITES =         ${MASTER_SITE_PYPI:=c/clint/}
 
-NO_REGRESS=            Yes
+MODULES =              lang/python
+MODPY_SETUPTOOLS =     Yes
 
+# --single-version-externally-managed option used by MODPY doesn't exist
+MODPY_DISTUTILS_INSTALL = install --prefix=${LOCALBASE} --root=${DESTDIR}
+
+NO_REGRESS =           Yes
+
 post-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/clint 
-       mv ${PREFIX}/*.rst ${PREFIX}/share/doc/clint
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/clint
+       ${INSTALL_DATA} ${WRKSRC}/README.rst ${PREFIX}/share/doc/clint
 
 .include <bsd.port.mk>
diff -x CVS -urNP /usr/ports/devel/py-clint/pkg/DESCR 
/home/f/src/mystuff/devel/py-clint/pkg/DESCR
--- /usr/ports/devel/py-clint/pkg/DESCR Mon Jan 21 09:29:50 2013
+++ /home/f/src/mystuff/devel/py-clint/pkg/DESCR        Thu Feb  7 14:42:06 2013
@@ -1,2 +1,2 @@
-Clint is a module filled with a set of awesome tools for developing
-commandline applications.
+Clint is a module filled with a set of tools for
+developing commandline applications.
diff -x CVS -urNP /usr/ports/devel/py-clint/pkg/PLIST 
/home/f/src/mystuff/devel/py-clint/pkg/PLIST
--- /usr/ports/devel/py-clint/pkg/PLIST Fri Mar  8 13:10:08 2013
+++ /home/f/src/mystuff/devel/py-clint/pkg/PLIST        Fri Mar  8 17:20:22 2013
@@ -47,5 +47,4 @@
 lib/python${MODPY_VERSION}/site-packages/clint/utils.py
 lib/python${MODPY_VERSION}/site-packages/clint/utils.pyc
 share/doc/clint/
-share/doc/clint/HISTORY.rst
 share/doc/clint/README.rst

Reply via email to