Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Aug 2015 21:25:34 +0000 (UTC)
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r394194 - in head/devel: . py-selection py-selection/files
Message-ID:  <201508132125.t7DLPYaZ054465@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Thu Aug 13 21:25:33 2015
New Revision: 394194
URL: https://svnweb.freebsd.org/changeset/ports/394194

Log:
  API to extract data from HTML and XML documents.
  
  WWW: https://pypi.python.org/pypi/selection

Added:
  head/devel/py-selection/
  head/devel/py-selection/Makefile   (contents, props changed)
  head/devel/py-selection/distinfo   (contents, props changed)
  head/devel/py-selection/files/
  head/devel/py-selection/files/patch-setup.py   (contents, props changed)
  head/devel/py-selection/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Thu Aug 13 21:23:21 2015	(r394193)
+++ head/devel/Makefile	Thu Aug 13 21:25:33 2015	(r394194)
@@ -4186,6 +4186,7 @@
     SUBDIR += py-sanetime
     SUBDIR += py-scripttest
     SUBDIR += py-sdl2
+    SUBDIR += py-selection
     SUBDIR += py-semantic_version
     SUBDIR += py-serpent
     SUBDIR += py-setproctitle

Added: head/devel/py-selection/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-selection/Makefile	Thu Aug 13 21:25:33 2015	(r394194)
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME=	selection
+PORTVERSION=	0.0.9
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	rm@FreeBSD.org
+COMMENT=	API to extract content from HTML & XML documents
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six \
+		${PYTHON_PKGNAMEPREFIX}lxml>0:${PORTSDIR}/devel/py-lxml \
+		${PYTHON_PKGNAMEPREFIX}weblib>0:${PORTSDIR}/devel/py-weblib
+
+NO_ARCH=	yes
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+post-extract:
+	${RM} -rf ${WRKSRC}/test
+
+.include <bsd.port.mk>

Added: head/devel/py-selection/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-selection/distinfo	Thu Aug 13 21:25:33 2015	(r394194)
@@ -0,0 +1,2 @@
+SHA256 (selection-0.0.9.tar.gz) = 2e89d6eea792447a7c23da77b81fd7df84526791f64cbff4a50edf363697759e
+SIZE (selection-0.0.9.tar.gz) = 5979

Added: head/devel/py-selection/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-selection/files/patch-setup.py	Thu Aug 13 21:25:33 2015	(r394194)
@@ -0,0 +1,11 @@
+--- setup.py.orig	2015-04-16 10:03:43 UTC
++++ setup.py
+@@ -7,7 +7,7 @@ setup(
+     author = 'Gregory Petukhov',
+     author_email = 'lorien@lorien.name',
+     install_requires = ['lxml', 'weblib', 'six'],
+-    packages = ['selection', 'selection.backend', 'test'],
++    packages = ['selection', 'selection.backend'],
+     license = "MIT",
+     classifiers = (
+         'Programming Language :: Python',

Added: head/devel/py-selection/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-selection/pkg-descr	Thu Aug 13 21:25:33 2015	(r394194)
@@ -0,0 +1,3 @@
+API to extract data from HTML and XML documents.
+
+WWW: https://pypi.python.org/pypi/selection



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508132125.t7DLPYaZ054465>