diff options
author | imil <imil@pkgsrc.org> | 2012-11-03 13:55:16 +0000 |
---|---|---|
committer | imil <imil@pkgsrc.org> | 2012-11-03 13:55:16 +0000 |
commit | f546989cfe7a66b0853074073b51933455732d1b (patch) | |
tree | 1511c89c2ca8f31cc4b5537ca56fd7f587a0c5f3 /devel | |
parent | 1eec71d275845a50a84f3e9c639295cf80df2252 (diff) | |
download | pkgsrc-f546989cfe7a66b0853074073b51933455732d1b.tar.gz |
Initial import of py-hgtools, version 2.0.2, into the NetBSD Packages
Collection.
hgtools builds on the setuptools_hg plugin for setuptools. hgtools provides
classes for inspecting and working with repositories in the Mercurial version
control system.
hgtools provides a plugin for setuptools that enables setuptools to find files
under the Mercurial version control system.
The classes provided by hgtools are designed to work natively with the
Mercurial Python libraries (in process) or fall back to using the command-line
program hg(1) if available. The command-line support is especially useful
inside virtualenvs that don't have access to a system-wide installed Mercurial
lib (i.e. when the virtualenv was created with --no-site-packages).
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-hgtools/DESCR | 12 | ||||
-rw-r--r-- | devel/py-hgtools/Makefile | 24 | ||||
-rw-r--r-- | devel/py-hgtools/PLIST | 33 | ||||
-rw-r--r-- | devel/py-hgtools/buildlink3.mk | 12 | ||||
-rw-r--r-- | devel/py-hgtools/distinfo | 5 |
5 files changed, 86 insertions, 0 deletions
diff --git a/devel/py-hgtools/DESCR b/devel/py-hgtools/DESCR new file mode 100644 index 00000000000..79a44aacdb1 --- /dev/null +++ b/devel/py-hgtools/DESCR @@ -0,0 +1,12 @@ +hgtools builds on the setuptools_hg plugin for setuptools. hgtools provides +classes for inspecting and working with repositories in the Mercurial version +control system. + +hgtools provides a plugin for setuptools that enables setuptools to find files +under the Mercurial version control system. + +The classes provided by hgtools are designed to work natively with the +Mercurial Python libraries (in process) or fall back to using the command-line +program hg(1) if available. The command-line support is especially useful +inside virtualenvs that don't have access to a system-wide installed Mercurial +lib (i.e. when the virtualenv was created with --no-site-packages). diff --git a/devel/py-hgtools/Makefile b/devel/py-hgtools/Makefile new file mode 100644 index 00000000000..3a9f6b35dcd --- /dev/null +++ b/devel/py-hgtools/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1 2012/11/03 13:55:16 imil Exp $ +# + +HGTVERS= 2.0.2 +DISTNAME= hgtools-${HGTVERS} +PKGNAME= ${PYPKGPREFIX}-hgtools-${HGTVERS} +CATEGORIES= devel python +MASTER_SITES= http://pypi.python.org/packages/source/h/hgtools/ +EXTRACT_SUFX= .zip + +MAINTAINER= imil@NetBSD.org +HOMEPAGE= http://pypi.python.org/packages/source/h/hgtools/ +COMMENT= Classes and setuptools plugin for Mercurial repositories +LICENSE= gnu-gpl-v1 + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_LANGUAGES= # none + +post-extract: + cd ${WRKSRC} && ${CHMOD} ${SHAREMODE} hgtools.egg-info/* + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/py-hgtools/PLIST b/devel/py-hgtools/PLIST new file mode 100644 index 00000000000..e21905580fa --- /dev/null +++ b/devel/py-hgtools/PLIST @@ -0,0 +1,33 @@ +@comment $NetBSD: PLIST,v 1.1 2012/11/03 13:55:16 imil Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/entry_points.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/hgtools/__init__.py +${PYSITELIB}/hgtools/__init__.pyc +${PYSITELIB}/hgtools/__init__.pyo +${PYSITELIB}/hgtools/managers/__init__.py +${PYSITELIB}/hgtools/managers/__init__.pyc +${PYSITELIB}/hgtools/managers/__init__.pyo +${PYSITELIB}/hgtools/managers/base.py +${PYSITELIB}/hgtools/managers/base.pyc +${PYSITELIB}/hgtools/managers/base.pyo +${PYSITELIB}/hgtools/managers/library.py +${PYSITELIB}/hgtools/managers/library.pyc +${PYSITELIB}/hgtools/managers/library.pyo +${PYSITELIB}/hgtools/managers/subprocess.py +${PYSITELIB}/hgtools/managers/subprocess.pyc +${PYSITELIB}/hgtools/managers/subprocess.pyo +${PYSITELIB}/hgtools/namedtuple_backport.py +${PYSITELIB}/hgtools/namedtuple_backport.pyc +${PYSITELIB}/hgtools/namedtuple_backport.pyo +${PYSITELIB}/hgtools/plugins.py +${PYSITELIB}/hgtools/plugins.pyc +${PYSITELIB}/hgtools/plugins.pyo +${PYSITELIB}/hgtools/py25compat.py +${PYSITELIB}/hgtools/py25compat.pyc +${PYSITELIB}/hgtools/py25compat.pyo +${PYSITELIB}/hgtools/versioning.py +${PYSITELIB}/hgtools/versioning.pyc +${PYSITELIB}/hgtools/versioning.pyo diff --git a/devel/py-hgtools/buildlink3.mk b/devel/py-hgtools/buildlink3.mk new file mode 100644 index 00000000000..6b30f06e6c6 --- /dev/null +++ b/devel/py-hgtools/buildlink3.mk @@ -0,0 +1,12 @@ +# $NetBSD: buildlink3.mk,v 1.1 2012/11/03 13:55:16 imil Exp $ + +BUILDLINK_TREE+= py-hgtools + +.if !defined(PY_HGTOOLS_BUILDLINK3_MK) +PY_HGTOOLS_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.py-hgtools+= ${PYPKGPREFIX}-hgtools>=2.0.2 +BUILDLINK_PKGSRCDIR.py-hgtools?= ../../devel/py-hgtools +.endif # PY_HGTOOLS_BUILDLINK3_MK + +BUILDLINK_TREE+= -py-hgtools diff --git a/devel/py-hgtools/distinfo b/devel/py-hgtools/distinfo new file mode 100644 index 00000000000..688f53bf51e --- /dev/null +++ b/devel/py-hgtools/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2012/11/03 13:55:16 imil Exp $ + +SHA1 (hgtools-2.0.2.zip) = b4db6f850e2172cff5f1740c6591cd97cadec285 +RMD160 (hgtools-2.0.2.zip) = 22d7416d1b28c6b2dd8ed2652a4ef3229b9a81a8 +Size (hgtools-2.0.2.zip) = 30635 bytes |