pkgsrc-WIP-changes archive

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

+ import pkg



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Mon Sep 14 12:18:55 2020 +0100
Changeset:	fffe776c5af594d15832b288267725932bdb61f8

Added Files:
	py-geppy/DESCR
	py-geppy/Makefile
	py-geppy/PLIST
	py-geppy/distinfo
	py-goose3/DESCR
	py-goose3/Makefile
	py-goose3/PLIST
	py-goose3/distinfo
	py-goose3/patches/patch-setup.py

Log Message:
+ import pkg

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fffe776c5af594d15832b288267725932bdb61f8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-geppy/DESCR                   |  8 ++++
 py-geppy/Makefile                | 18 ++++++++
 py-geppy/PLIST                   | 57 ++++++++++++++++++++++++
 py-geppy/distinfo                |  6 +++
 py-goose3/DESCR                  | 15 +++++++
 py-goose3/Makefile               | 16 +++++++
 py-goose3/PLIST                  | 93 ++++++++++++++++++++++++++++++++++++++++
 py-goose3/distinfo               |  7 +++
 py-goose3/patches/patch-setup.py | 26 +++++++++++
 9 files changed, 246 insertions(+)

diffs:
diff --git a/py-geppy/DESCR b/py-geppy/DESCR
new file mode 100644
index 0000000000..6eab5498cb
--- /dev/null
+++ b/py-geppy/DESCR
@@ -0,0 +1,8 @@
+geppy is built on top of the excellent evolutionary computation framework
+DEAP for rapid prototyping and testing of ideas with GEP. DEAP provides
+fundamental support for GP, while lacking support for GEP. geppy tries
+the best to follow the style of DEAP and attempts to maintain compatibility
+with the major infrastructure of DEAP. In other words, to some degree
+geppy may be considered as a plugin of DEAP to specially support GEP.
+If you are familiar with DEAP, then it is easy to grasp geppy. Besides,
+comprehensive documentation is also available
diff --git a/py-geppy/Makefile b/py-geppy/Makefile
new file mode 100644
index 0000000000..a5cb7dcf8e
--- /dev/null
+++ b/py-geppy/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	geppy-0.1
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	biology python
+MASTER_SITES=	https://files.pythonhosted.org/packages/51/bd/bf214364b3adc5c6d9f4ee8aaa6f01e3ceda7d1bd74b048af4bd953d6175/
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/ShuhuaGao/geppy
+COMMENT=	Package for gene expression programming in Python
+LICENSE=	gnu-lgpl-v3
+
+#DEPENDS+=	# TODO: deap>=0
+
+USE_LANGUAGES=	# none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-geppy/PLIST b/py-geppy/PLIST
new file mode 100644
index 0000000000..a3b8d5cfc8
--- /dev/null
+++ b/py-geppy/PLIST
@@ -0,0 +1,57 @@
+@comment $NetBSD$
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/geppy/__init__.py
+${PYSITELIB}/geppy/__init__.pyc
+${PYSITELIB}/geppy/__init__.pyo
+${PYSITELIB}/geppy/algorithms/__init__.py
+${PYSITELIB}/geppy/algorithms/__init__.pyc
+${PYSITELIB}/geppy/algorithms/__init__.pyo
+${PYSITELIB}/geppy/algorithms/basic.py
+${PYSITELIB}/geppy/algorithms/basic.pyc
+${PYSITELIB}/geppy/algorithms/basic.pyo
+${PYSITELIB}/geppy/algorithms/copt.py
+${PYSITELIB}/geppy/algorithms/copt.pyc
+${PYSITELIB}/geppy/algorithms/copt.pyo
+${PYSITELIB}/geppy/core/__init__.py
+${PYSITELIB}/geppy/core/__init__.pyc
+${PYSITELIB}/geppy/core/__init__.pyo
+${PYSITELIB}/geppy/core/entity.py
+${PYSITELIB}/geppy/core/entity.pyc
+${PYSITELIB}/geppy/core/entity.pyo
+${PYSITELIB}/geppy/core/symbol.py
+${PYSITELIB}/geppy/core/symbol.pyc
+${PYSITELIB}/geppy/core/symbol.pyo
+${PYSITELIB}/geppy/support/__init__.py
+${PYSITELIB}/geppy/support/__init__.pyc
+${PYSITELIB}/geppy/support/__init__.pyo
+${PYSITELIB}/geppy/support/simplification.py
+${PYSITELIB}/geppy/support/simplification.pyc
+${PYSITELIB}/geppy/support/simplification.pyo
+${PYSITELIB}/geppy/support/visualization.py
+${PYSITELIB}/geppy/support/visualization.pyc
+${PYSITELIB}/geppy/support/visualization.pyo
+${PYSITELIB}/geppy/tools/__init__.py
+${PYSITELIB}/geppy/tools/__init__.pyc
+${PYSITELIB}/geppy/tools/__init__.pyo
+${PYSITELIB}/geppy/tools/_util.py
+${PYSITELIB}/geppy/tools/_util.pyc
+${PYSITELIB}/geppy/tools/_util.pyo
+${PYSITELIB}/geppy/tools/crossover.py
+${PYSITELIB}/geppy/tools/crossover.pyc
+${PYSITELIB}/geppy/tools/crossover.pyo
+${PYSITELIB}/geppy/tools/generator.py
+${PYSITELIB}/geppy/tools/generator.pyc
+${PYSITELIB}/geppy/tools/generator.pyo
+${PYSITELIB}/geppy/tools/mutation.py
+${PYSITELIB}/geppy/tools/mutation.pyc
+${PYSITELIB}/geppy/tools/mutation.pyo
+${PYSITELIB}/geppy/tools/parser.py
+${PYSITELIB}/geppy/tools/parser.pyc
+${PYSITELIB}/geppy/tools/parser.pyo
+${PYSITELIB}/geppy/tools/toolbox.py
+${PYSITELIB}/geppy/tools/toolbox.pyc
+${PYSITELIB}/geppy/tools/toolbox.pyo
diff --git a/py-geppy/distinfo b/py-geppy/distinfo
new file mode 100644
index 0000000000..20ce4826f2
--- /dev/null
+++ b/py-geppy/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (geppy-0.1.tar.gz) = a886bc558ef371709454a990ed09ed4a3c441be7
+RMD160 (geppy-0.1.tar.gz) = 01c46c7accf75c906372176a26ecf2540ade6c65
+SHA512 (geppy-0.1.tar.gz) = c18a205c90226000a8475e74f410da96e14dbfd231d1aed7bb78712cfc0e28572e798cafe2b604c61c23e7a89b2eb6be3a10c3d9093176046ae0b310a6415d1d
+Size (geppy-0.1.tar.gz) = 30332 bytes
diff --git a/py-goose3/DESCR b/py-goose3/DESCR
new file mode 100644
index 0000000000..90ee7fef31
--- /dev/null
+++ b/py-goose3/DESCR
@@ -0,0 +1,15 @@
+Goose was originally an article extractor written in Java that has most
+recently (Aug2011) been converted to a scala project.
+
+This is a complete rewrite in Python. The aim of the software is to take
+any news article or article-type web page and not only extract what is
+the main body of the article but also all meta data and most probable
+image candidate.
+
+Goose will try to extract the following information:
+
+    - Main text of an article
+    - Main image of article
+    - Any YouTube/Vimeo movies embedded in article
+    - Meta Description
+    - Meta tags
diff --git a/py-goose3/Makefile b/py-goose3/Makefile
new file mode 100644
index 0000000000..77705bc505
--- /dev/null
+++ b/py-goose3/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD$
+
+DISTNAME=	goose3-3.1.6
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	www python
+MASTER_SITES=	https://files.pythonhosted.org/packages/b2/d4/bde495ede6ff255b66cd73d0459eb104e723125ca17ac6515a24908a4f33/
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/goose3/goose3
+COMMENT=	Html Content / Article Extractor, web scrapping for Python3
+LICENSE=	apache-2.0
+
+PYTHON_VERSIONS_ACCEPTED=	38 37 36
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-goose3/PLIST b/py-goose3/PLIST
new file mode 100644
index 0000000000..f55a7a5ea2
--- /dev/null
+++ b/py-goose3/PLIST
@@ -0,0 +1,93 @@
+@comment $NetBSD$
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/goose3/__init__.py
+${PYSITELIB}/goose3/__init__.pyc
+${PYSITELIB}/goose3/__init__.pyo
+${PYSITELIB}/goose3/article.py
+${PYSITELIB}/goose3/article.pyc
+${PYSITELIB}/goose3/article.pyo
+${PYSITELIB}/goose3/cleaners.py
+${PYSITELIB}/goose3/cleaners.pyc
+${PYSITELIB}/goose3/cleaners.pyo
+${PYSITELIB}/goose3/configuration.py
+${PYSITELIB}/goose3/configuration.pyc
+${PYSITELIB}/goose3/configuration.pyo
+${PYSITELIB}/goose3/crawler.py
+${PYSITELIB}/goose3/crawler.pyc
+${PYSITELIB}/goose3/crawler.pyo
+${PYSITELIB}/goose3/exceptions.py
+${PYSITELIB}/goose3/exceptions.pyc
+${PYSITELIB}/goose3/exceptions.pyo
+${PYSITELIB}/goose3/extractors/__init__.py
+${PYSITELIB}/goose3/extractors/__init__.pyc
+${PYSITELIB}/goose3/extractors/__init__.pyo
+${PYSITELIB}/goose3/extractors/authors.py
+${PYSITELIB}/goose3/extractors/authors.pyc
+${PYSITELIB}/goose3/extractors/authors.pyo
+${PYSITELIB}/goose3/extractors/content.py
+${PYSITELIB}/goose3/extractors/content.pyc
+${PYSITELIB}/goose3/extractors/content.pyo
+${PYSITELIB}/goose3/extractors/images.py
+${PYSITELIB}/goose3/extractors/images.pyc
+${PYSITELIB}/goose3/extractors/images.pyo
+${PYSITELIB}/goose3/extractors/links.py
+${PYSITELIB}/goose3/extractors/links.pyc
+${PYSITELIB}/goose3/extractors/links.pyo
+${PYSITELIB}/goose3/extractors/metas.py
+${PYSITELIB}/goose3/extractors/metas.pyc
+${PYSITELIB}/goose3/extractors/metas.pyo
+${PYSITELIB}/goose3/extractors/opengraph.py
+${PYSITELIB}/goose3/extractors/opengraph.pyc
+${PYSITELIB}/goose3/extractors/opengraph.pyo
+${PYSITELIB}/goose3/extractors/publishdate.py
+${PYSITELIB}/goose3/extractors/publishdate.pyc
+${PYSITELIB}/goose3/extractors/publishdate.pyo
+${PYSITELIB}/goose3/extractors/schema.py
+${PYSITELIB}/goose3/extractors/schema.pyc
+${PYSITELIB}/goose3/extractors/schema.pyo
+${PYSITELIB}/goose3/extractors/tags.py
+${PYSITELIB}/goose3/extractors/tags.pyc
+${PYSITELIB}/goose3/extractors/tags.pyo
+${PYSITELIB}/goose3/extractors/title.py
+${PYSITELIB}/goose3/extractors/title.pyc
+${PYSITELIB}/goose3/extractors/title.pyo
+${PYSITELIB}/goose3/extractors/tweets.py
+${PYSITELIB}/goose3/extractors/tweets.pyc
+${PYSITELIB}/goose3/extractors/tweets.pyo
+${PYSITELIB}/goose3/extractors/videos.py
+${PYSITELIB}/goose3/extractors/videos.pyc
+${PYSITELIB}/goose3/extractors/videos.pyo
+${PYSITELIB}/goose3/image.py
+${PYSITELIB}/goose3/image.pyc
+${PYSITELIB}/goose3/image.pyo
+${PYSITELIB}/goose3/network.py
+${PYSITELIB}/goose3/network.pyc
+${PYSITELIB}/goose3/network.pyo
+${PYSITELIB}/goose3/outputformatters.py
+${PYSITELIB}/goose3/outputformatters.pyc
+${PYSITELIB}/goose3/outputformatters.pyo
+${PYSITELIB}/goose3/parsers.py
+${PYSITELIB}/goose3/parsers.pyc
+${PYSITELIB}/goose3/parsers.pyo
+${PYSITELIB}/goose3/text.py
+${PYSITELIB}/goose3/text.pyc
+${PYSITELIB}/goose3/text.pyo
+${PYSITELIB}/goose3/utils/__init__.py
+${PYSITELIB}/goose3/utils/__init__.pyc
+${PYSITELIB}/goose3/utils/__init__.pyo
+${PYSITELIB}/goose3/utils/encoding.py
+${PYSITELIB}/goose3/utils/encoding.pyc
+${PYSITELIB}/goose3/utils/encoding.pyo
+${PYSITELIB}/goose3/utils/images.py
+${PYSITELIB}/goose3/utils/images.pyc
+${PYSITELIB}/goose3/utils/images.pyo
+${PYSITELIB}/goose3/version.py
+${PYSITELIB}/goose3/version.pyc
+${PYSITELIB}/goose3/version.pyo
+${PYSITELIB}/goose3/video.py
+${PYSITELIB}/goose3/video.pyc
+${PYSITELIB}/goose3/video.pyo
diff --git a/py-goose3/distinfo b/py-goose3/distinfo
new file mode 100644
index 0000000000..9c6241658a
--- /dev/null
+++ b/py-goose3/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (goose3-3.1.6.tar.gz) = 48dd99f0c7fc6a6f19e1e89d2b66dc77243c4711
+RMD160 (goose3-3.1.6.tar.gz) = fd1f29c623d95610f98737abe473a31b9ac48da2
+SHA512 (goose3-3.1.6.tar.gz) = 943e74183dab2a88fccda6934ac731f6c97147d5e73dd9948a263e2752a7ffb8c5d8711215a10a4c8eedc238ffc742e21e65050ce015adc2ffdd93df9031b2d7
+Size (goose3-3.1.6.tar.gz) = 37724 bytes
+SHA1 (patch-setup.py) = ccb1d569abd950c0a81911ad1727c78ed724eec1
diff --git a/py-goose3/patches/patch-setup.py b/py-goose3/patches/patch-setup.py
new file mode 100644
index 0000000000..5aa49676a0
--- /dev/null
+++ b/py-goose3/patches/patch-setup.py
@@ -0,0 +1,26 @@
+$NetBSD$
+
+--- setup.py.orig	2018-04-03 22:16:43.000000000 +0000
++++ setup.py
+@@ -53,8 +53,6 @@ CLASSIFIERS = [
+     'Topic :: Software Development :: Libraries :: Python Modules']
+ 
+ description = "Html Content / Article Extractor, web scrapping for Python3"
+-dependencies = read_file('./requirements/python').splitlines()
+-test_dependencies = read_file('./requirements/python-dev').splitlines()
+ 
+ # read long description
+ try:
+@@ -74,11 +72,8 @@ setup(
+     url='https://github.com/goose3/goose3',
+     license='Apache',
+     packages=find_packages(exclude=['tests']),
+-    package_data={'goose3': ['resources/images/*.txt', 'resources/text/*.txt',
+-                             'requirements/python']},
++    package_data={'goose3': ['resources/images/*.txt', 'resources/text/*.txt']},
+     include_package_data=True,
+     zip_safe=False,
+-    install_requires=dependencies,
+-    test_requires=test_dependencies,
+     test_suite="tests"
+ )


Home | Main Index | Thread Index | Old Index