hghooks is a simple module that adds several useful hooks for use in
Mercurial hooks system. Right now it includes hooks for: * pep8 checking of python files * pyflakes checking of python files * checking for forgotten pdb statements in python files * Trac integration. This includes: - Making sure at least a ticket is mentioned in the changeset message - Updating the Trac ticket with the changeset PR: ports/167595 Submitted by: William Grzybowski <william88 gmail.com>
This commit is contained in:
parent
e285008885
commit
1e0ef4b8ea
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=296251
@ -3247,6 +3247,7 @@
|
||||
SUBDIR += py-grouch
|
||||
SUBDIR += py-gyp-devel
|
||||
SUBDIR += py-hashring
|
||||
SUBDIR += py-hghooks
|
||||
SUBDIR += py-icalendar
|
||||
SUBDIR += py-ice
|
||||
SUBDIR += py-icu
|
||||
|
22
devel/py-hghooks/Makefile
Normal file
22
devel/py-hghooks/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
# New ports collection makefile for: py-hghooks
|
||||
# Date created: 04 May 2012
|
||||
# Whom: William Grzybowski
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= hghooks
|
||||
PORTVERSION= 0.5.2
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= william88@gmail.com
|
||||
COMMENT= Set of Mercurial hooks
|
||||
|
||||
USE_PYTHON= -2.7
|
||||
USE_PYDISTUTILS= easy_install
|
||||
|
||||
PLIST_SUB= VERSION=${PORTVERSION} PYVER=${PYTHON_VERSION:S/python//}
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/py-hghooks/distinfo
Normal file
2
devel/py-hghooks/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (hghooks-0.5.2.tar.gz) = 11bf29334f72670aa371974b33a7d94ff1f4dcdc9f1c7a8e22e3663a395dde45
|
||||
SIZE (hghooks-0.5.2.tar.gz) = 14445
|
13
devel/py-hghooks/pkg-descr
Normal file
13
devel/py-hghooks/pkg-descr
Normal file
@ -0,0 +1,13 @@
|
||||
hghooks is a simple module that adds several useful hooks for use in
|
||||
Mercurial hooks system.
|
||||
|
||||
Right now it includes hooks for:
|
||||
|
||||
* pep8 checking of python files
|
||||
* pyflakes checking of python files
|
||||
* checking for forgotten pdb statements in python files
|
||||
* Trac integration. This includes:
|
||||
- Making sure at least a ticket is mentioned in the changeset message
|
||||
- Updating the Trac ticket with the changeset
|
||||
|
||||
WWW: https://bitbucket.org/lgs/hghooks/overview
|
20
devel/py-hghooks/pkg-plist
Normal file
20
devel/py-hghooks/pkg-plist
Normal file
@ -0,0 +1,20 @@
|
||||
%%PYTHON_SITELIBDIR%%/hghooks-%%VERSION%%-py%%PYVER%%.egg/hghooks/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/hghooks-%%VERSION%%-py%%PYVER%%.egg/hghooks/code.py
|
||||
%%PYTHON_SITELIBDIR%%/hghooks-%%VERSION%%-py%%PYVER%%.egg/hghooks/trachooks.pyo
|
||||
%%PYTHON_SITELIBDIR%%/hghooks-%%VERSION%%-py%%PYVER%%.egg/hghooks/code.pyc
|
||||
%%PYTHON_SITELIBDIR%%/hghooks-%%VERSION%%-py%%PYVER%%.egg/hghooks/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/hghooks-%%VERSION%%-py%%PYVER%%.egg/hghooks/trachooks.py
|
||||
%%PYTHON_SITELIBDIR%%/hghooks-%%VERSION%%-py%%PYVER%%.egg/hghooks/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/hghooks-%%VERSION%%-py%%PYVER%%.egg/hghooks/code.pyo
|
||||
%%PYTHON_SITELIBDIR%%/hghooks-%%VERSION%%-py%%PYVER%%.egg/hghooks/trachooks.pyc
|
||||
%%PYTHON_SITELIBDIR%%/hghooks-%%VERSION%%-py%%PYVER%%.egg/EGG-INFO/entry_points.txt
|
||||
%%PYTHON_SITELIBDIR%%/hghooks-%%VERSION%%-py%%PYVER%%.egg/EGG-INFO/top_level.txt
|
||||
%%PYTHON_SITELIBDIR%%/hghooks-%%VERSION%%-py%%PYVER%%.egg/EGG-INFO/PKG-INFO
|
||||
%%PYTHON_SITELIBDIR%%/hghooks-%%VERSION%%-py%%PYVER%%.egg/EGG-INFO/SOURCES.txt
|
||||
%%PYTHON_SITELIBDIR%%/hghooks-%%VERSION%%-py%%PYVER%%.egg/EGG-INFO/requires.txt
|
||||
%%PYTHON_SITELIBDIR%%/hghooks-%%VERSION%%-py%%PYVER%%.egg/EGG-INFO/not-zip-safe
|
||||
%%PYTHON_SITELIBDIR%%/hghooks-%%VERSION%%-py%%PYVER%%.egg/EGG-INFO/dependency_links.txt
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/hghooks-%%VERSION%%-py%%PYVER%%.egg/EGG-INFO
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/hghooks-%%VERSION%%-py%%PYVER%%.egg/hghooks
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/hghooks-%%VERSION%%-py%%PYVER%%.egg
|
||||
@dirrmtry %%PYTHON_SITELIBDIR%%
|
Loading…
Reference in New Issue
Block a user