pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-editorconfig-core Import py-editorconfig-core...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fd77fbe58ecb
branches:  trunk
changeset: 361050:fd77fbe58ecb
user:      leot <leot%pkgsrc.org@localhost>
date:      Fri Apr 14 12:18:31 2017 +0000

description:
Import py-editorconfig-core-0.12.1 as devel/py-editorconfig-core

Editorconfig python library. This library is used by editorconfig
plugins written in python. Editorconfig reads .editorconfig files that
define a coding style for a project. This allows the coding style to be
set by the project instead of the developer. Then the developer does not
have to change style between each project, the editor knows the coding
style of a file that belongs to a certain project.

Packaged in pkgsrc-wip by <nros> with some adjustments by <tnn> and myself.

diffstat:

 devel/py-editorconfig-core/DESCR                  |   6 ++++
 devel/py-editorconfig-core/Makefile               |  17 ++++++++++++
 devel/py-editorconfig-core/PLIST                  |  32 +++++++++++++++++++++++
 devel/py-editorconfig-core/distinfo               |   7 +++++
 devel/py-editorconfig-core/patches/patch-setup.py |  21 +++++++++++++++
 5 files changed, 83 insertions(+), 0 deletions(-)

diffs (103 lines):

diff -r d5cc29ecf5fe -r fd77fbe58ecb devel/py-editorconfig-core/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-editorconfig-core/DESCR  Fri Apr 14 12:18:31 2017 +0000
@@ -0,0 +1,6 @@
+Editorconfig python library. This library is used by editorconfig
+plugins written in python. Editorconfig reads .editorconfig files that
+define a coding style for a project. This allows the coding style to be
+set by the project instead of the developer. Then the developer does not
+have to change style between each project, the editor knows the coding
+style of a file that belongs to a certain project.
diff -r d5cc29ecf5fe -r fd77fbe58ecb devel/py-editorconfig-core/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-editorconfig-core/Makefile       Fri Apr 14 12:18:31 2017 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2017/04/14 12:18:31 leot Exp $
+
+VERSION=       0.12.1
+DISTNAME=      EditorConfig-${VERSION}
+PKGNAME=       ${PYPKGPREFIX}-editorconfig-core-${VERSION}
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_PYPI:=E/EditorConfig/}
+
+MAINTAINER=    nros%users.sourceforge.net@localhost
+HOMEPAGE=      http://editorconfig.org/
+COMMENT=       Editorconfig python library
+LICENSE=       python-software-foundation AND modified-bsd
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r d5cc29ecf5fe -r fd77fbe58ecb devel/py-editorconfig-core/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-editorconfig-core/PLIST  Fri Apr 14 12:18:31 2017 +0000
@@ -0,0 +1,32 @@
+@comment $NetBSD: PLIST,v 1.1 2017/04/14 12:18:31 leot Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/editorconfig/__init__.py
+${PYSITELIB}/editorconfig/__init__.pyc
+${PYSITELIB}/editorconfig/__init__.pyo
+${PYSITELIB}/editorconfig/compat.py
+${PYSITELIB}/editorconfig/compat.pyc
+${PYSITELIB}/editorconfig/compat.pyo
+${PYSITELIB}/editorconfig/exceptions.py
+${PYSITELIB}/editorconfig/exceptions.pyc
+${PYSITELIB}/editorconfig/exceptions.pyo
+${PYSITELIB}/editorconfig/fnmatch.py
+${PYSITELIB}/editorconfig/fnmatch.pyc
+${PYSITELIB}/editorconfig/fnmatch.pyo
+${PYSITELIB}/editorconfig/handler.py
+${PYSITELIB}/editorconfig/handler.pyc
+${PYSITELIB}/editorconfig/handler.pyo
+${PYSITELIB}/editorconfig/ini.py
+${PYSITELIB}/editorconfig/ini.pyc
+${PYSITELIB}/editorconfig/ini.pyo
+${PYSITELIB}/editorconfig/main.py
+${PYSITELIB}/editorconfig/main.pyc
+${PYSITELIB}/editorconfig/main.pyo
+${PYSITELIB}/editorconfig/odict.py
+${PYSITELIB}/editorconfig/odict.pyc
+${PYSITELIB}/editorconfig/odict.pyo
+${PYSITELIB}/editorconfig/versiontools.py
+${PYSITELIB}/editorconfig/versiontools.pyc
+${PYSITELIB}/editorconfig/versiontools.pyo
diff -r d5cc29ecf5fe -r fd77fbe58ecb devel/py-editorconfig-core/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-editorconfig-core/distinfo       Fri Apr 14 12:18:31 2017 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2017/04/14 12:18:31 leot Exp $
+
+SHA1 (EditorConfig-0.12.1.tar.gz) = c5057a20dd8f3af3136679e88057de9f6284b46a
+RMD160 (EditorConfig-0.12.1.tar.gz) = 8c050fdca3beb02df8219e7ebe33700fa84eb592
+SHA512 (EditorConfig-0.12.1.tar.gz) = d31abc261c3f2e17582d3c5ef549fd2f2292588d8a4549eb98d80693cf94a50078047d95892164a71043375f6c5596152ac62e04e854d78458cfb1183030669f
+Size (EditorConfig-0.12.1.tar.gz) = 19282 bytes
+SHA1 (patch-setup.py) = 8691aa55ccf1662163281ee61d8fb8d5a6956fba
diff -r d5cc29ecf5fe -r fd77fbe58ecb devel/py-editorconfig-core/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-editorconfig-core/patches/patch-setup.py Fri Apr 14 12:18:31 2017 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-setup.py,v 1.1 2017/04/14 12:18:31 leot Exp $
+
+* remove non-versioned file. The console command for editorconfig-core 
+  is in the editorconfig-core package. Removing this file removes the 
+  conflict that this package would have with the editorconfig-core 
+  package.
+
+--- setup.py.orig      2014-11-19 19:02:21.000000000 +0000
++++ setup.py
+@@ -10,11 +10,6 @@ setup(
+     license='LICENSE.txt',
+     description='EditorConfig File Locator and Interpreter for Python',
+     long_description=open('README.rst').read(),
+-    entry_points = {
+-        'console_scripts': [
+-            'editorconfig = editorconfig.main:main',
+-        ]
+-    },
+     classifiers=[
+         'Operating System :: OS Independent',
+         'Programming Language :: Python',



Home | Main Index | Thread Index | Old Index