public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/scrapy/, dev-python/scrapy/files/
@ 2021-11-15 19:59 Aisha Tammy
  0 siblings, 0 replies; 2+ messages in thread
From: Aisha Tammy @ 2021-11-15 19:59 UTC (permalink / raw
  To: gentoo-commits

commit:     79260950f42c53e5d418604cea8e85524c687f86
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Mon Nov 15 19:58:16 2021 +0000
Commit:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Mon Nov 15 19:58:16 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=79260950

dev-python/scrapy: high level web crawler

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>

 dev-python/scrapy/Manifest                         |  1 +
 .../scrapy/files/scrapy-2.5.1-no-doctest.patch     | 12 +++++
 dev-python/scrapy/metadata.xml                     |  8 +++
 dev-python/scrapy/scrapy-2.5.1.ebuild              | 58 ++++++++++++++++++++++
 4 files changed, 79 insertions(+)

diff --git a/dev-python/scrapy/Manifest b/dev-python/scrapy/Manifest
new file mode 100644
index 000000000..e42b11779
--- /dev/null
+++ b/dev-python/scrapy/Manifest
@@ -0,0 +1 @@
+DIST scrapy-2.5.1.tar.gz 1276985 BLAKE2B 7e4a43391a8dd4f641d188c7a89d26d52bc51aae3eb8340e02c9de2477bc6458f80b3a8ba16f6a17a9ec1debb85fe558fb7c1c48358fd923e02864758ea75fa5 SHA512 4285272412b4c474707e864ece701990435d206b0a1ef28cb9f99cff87a02e6b0323e744e96f15878a3b433a7efe4be413d24068bb252f00f9ab1b0a980d844a

diff --git a/dev-python/scrapy/files/scrapy-2.5.1-no-doctest.patch b/dev-python/scrapy/files/scrapy-2.5.1-no-doctest.patch
new file mode 100644
index 000000000..7c1b76d05
--- /dev/null
+++ b/dev-python/scrapy/files/scrapy-2.5.1-no-doctest.patch
@@ -0,0 +1,12 @@
+diff --git a/pytest.ini b/pytest.ini
+index 0aae09f..c1f20ee 100644
+--- a/pytest.ini
++++ b/pytest.ini
+@@ -5,7 +5,6 @@ python_files=test_*.py __init__.py
+ python_classes=
+ addopts =
+     --assert=plain
+-    --doctest-modules
+     --ignore=docs/_ext
+     --ignore=docs/conf.py
+     --ignore=docs/news.rst

diff --git a/dev-python/scrapy/metadata.xml b/dev-python/scrapy/metadata.xml
new file mode 100644
index 000000000..65ac1f205
--- /dev/null
+++ b/dev-python/scrapy/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>gentoo@aisha.cc</email>
+		<name>Aisha Tammy</name>
+	</maintainer>
+</pkgmetadata>

diff --git a/dev-python/scrapy/scrapy-2.5.1.ebuild b/dev-python/scrapy/scrapy-2.5.1.ebuild
new file mode 100644
index 000000000..49db3dcb4
--- /dev/null
+++ b/dev-python/scrapy/scrapy-2.5.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_9 )
+inherit distutils-r1
+
+DESCRIPTION="A high-level Web Crawling and Web Scraping framework"
+HOMEPAGE="https://scrapy.org/"
+SRC_URI="https://github.com/scrapy/scrapy/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT=0
+KEYWORDS="~amd64"
+
+# The 'PyDispatcher>=2.0.5' distribution was not found and is required by Scrapy
+# https://bugs.gentoo.org/684734
+RDEPEND="${PYTHON_DEPS}
+	dev-python/cssselect[${PYTHON_USEDEP}]
+	dev-python/cryptography[${PYTHON_USEDEP}]
+	<dev-python/priority-2.0.0[${PYTHON_USEDEP}]
+	<dev-python/h2-4.0.0[${PYTHON_USEDEP}]
+	dev-python/itemadapter[${PYTHON_USEDEP}]
+	dev-python/itemloaders[${PYTHON_USEDEP}]
+	dev-python/lxml[${PYTHON_USEDEP}]
+	dev-python/parsel[${PYTHON_USEDEP}]
+	dev-python/protego[${PYTHON_USEDEP}]
+	~dev-python/pydispatcher-2.0.5[${PYTHON_USEDEP}]
+	dev-python/pyopenssl[${PYTHON_USEDEP}]
+	dev-python/queuelib[${PYTHON_USEDEP}]
+	dev-python/service_identity[${PYTHON_USEDEP}]
+	dev-python/six[${PYTHON_USEDEP}]
+	>=dev-python/twisted-17.9.0[${PYTHON_USEDEP}]
+	dev-python/w3lib[${PYTHON_USEDEP}]
+	dev-python/zope-interface[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}
+	test? (
+		dev-python/testfixtures[${PYTHON_USEDEP}]
+		dev-python/uvloop[${PYTHON_USEDEP}]
+	)
+"
+
+distutils_enable_tests pytest
+
+PATCHES=( "${FILESDIR}/${PN}-2.5.1-no-doctest.patch" )
+
+python_test() {
+	py.test -vv --ignore=docs \
+		--ignore="tests/test_proxy_connect.py" \
+		--ignore="tests/test_utils_display.py" \
+		--ignore="tests/test_command_check.py" \
+		--ignore="tests/test_feedexport.py" \
+		--ignore="tests/test_pipeline_files.py" \
+		--ignore="tests/test_pipeline_images.py" \
+		--ignore="tests/test_squeues.py" || die
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/scrapy/, dev-python/scrapy/files/
@ 2023-12-30 20:24 Lucio Sauer
  0 siblings, 0 replies; 2+ messages in thread
From: Lucio Sauer @ 2023-12-30 20:24 UTC (permalink / raw
  To: gentoo-commits

commit:     173d46253fe0371b30a3afa8f6151e2ad4e02ad2
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sat Dec 30 20:14:27 2023 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sat Dec 30 20:14:27 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=173d4625

dev-python/scrapy: drop 2.8.0-r1, 2.11.0

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 dev-python/scrapy/Manifest                         |  1 -
 .../scrapy/files/scrapy-2.5.1-no-doctest.patch     | 12 -----
 dev-python/scrapy/scrapy-2.11.0.ebuild             | 59 ---------------------
 dev-python/scrapy/scrapy-2.8.0-r1.ebuild           | 61 ----------------------
 4 files changed, 133 deletions(-)

diff --git a/dev-python/scrapy/Manifest b/dev-python/scrapy/Manifest
index 2e7219df31..a5485bafa6 100644
--- a/dev-python/scrapy/Manifest
+++ b/dev-python/scrapy/Manifest
@@ -1,2 +1 @@
 DIST scrapy-2.11.0.tar.gz 1373184 BLAKE2B 7fc758a729d9e9f88c89e30c503ff8bf4c2e111bc00cbd003d5f8785dc818e5ef69ae3774013c4fe27db623c1246a57d57db097cf5220b257a9632bdd29b7023 SHA512 08da9684f4312e4149929f3785cc516207070fdd0eb99d8b7ed3276095378cc71d18534d0535fd1107af442aed42d6c91792ad7749d631b5f54522c3912ce073
-DIST scrapy-2.8.0.tar.gz 1345516 BLAKE2B 9a02d50cfde6c829e6c9064f29b75de4fb97139759b7822e20914ad3edfae104df3b4d65452f58bae6f4b7af4407ed87c6dc59000e5285e823637e54f1412102 SHA512 c758e8aad459aad5f447e6e721afd3c8e8f5743c8a0961d7562ecea9735444a2a2b7fd1b4c443fd3623fcb9bd3db5fdd108aa6fe7fa629a36229a3175eabac7d

diff --git a/dev-python/scrapy/files/scrapy-2.5.1-no-doctest.patch b/dev-python/scrapy/files/scrapy-2.5.1-no-doctest.patch
deleted file mode 100644
index 7c1b76d052..0000000000
--- a/dev-python/scrapy/files/scrapy-2.5.1-no-doctest.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/pytest.ini b/pytest.ini
-index 0aae09f..c1f20ee 100644
---- a/pytest.ini
-+++ b/pytest.ini
-@@ -5,7 +5,6 @@ python_files=test_*.py __init__.py
- python_classes=
- addopts =
-     --assert=plain
--    --doctest-modules
-     --ignore=docs/_ext
-     --ignore=docs/conf.py
-     --ignore=docs/news.rst

diff --git a/dev-python/scrapy/scrapy-2.11.0.ebuild b/dev-python/scrapy/scrapy-2.11.0.ebuild
deleted file mode 100644
index 9230c83a11..0000000000
--- a/dev-python/scrapy/scrapy-2.11.0.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-DISTUTILS_USE_PEP517=setuptools
-inherit distutils-r1
-
-DESCRIPTION="A high-level Web Crawling and Web Scraping framework"
-HOMEPAGE="https://scrapy.org/"
-SRC_URI="https://github.com/scrapy/scrapy/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT=0
-KEYWORDS="~amd64"
-
-# The 'PyDispatcher>=2.0.5' distribution was not found and is required by Scrapy
-# https://bugs.gentoo.org/684734
-RDEPEND="${PYTHON_DEPS}
-	dev-python/cssselect[${PYTHON_USEDEP}]
-	dev-python/cryptography[${PYTHON_USEDEP}]
-	<dev-python/priority-2.0.0[${PYTHON_USEDEP}]
-	dev-python/h2[${PYTHON_USEDEP}]
-	dev-python/itemadapter[${PYTHON_USEDEP}]
-	dev-python/itemloaders[${PYTHON_USEDEP}]
-	dev-python/lxml[${PYTHON_USEDEP}]
-	dev-python/parsel[${PYTHON_USEDEP}]
-	dev-python/protego[${PYTHON_USEDEP}]
-	>=dev-python/pydispatcher-2.0.5[${PYTHON_USEDEP}]
-	dev-python/pyopenssl[${PYTHON_USEDEP}]
-	dev-python/queuelib[${PYTHON_USEDEP}]
-	dev-python/service-identity[${PYTHON_USEDEP}]
-	dev-python/six[${PYTHON_USEDEP}]
-	dev-python/tldextract[${PYTHON_USEDEP}]
-	>=dev-python/twisted-17.9.0[${PYTHON_USEDEP}]
-	<=dev-python/twisted-22.10.0[${PYTHON_USEDEP}]
-	dev-python/w3lib[${PYTHON_USEDEP}]
-	dev-python/zope-interface[${PYTHON_USEDEP}]
-"
-DEPEND="${RDEPEND}
-	test? (
-		dev-python/testfixtures[${PYTHON_USEDEP}]
-		dev-python/uvloop[${PYTHON_USEDEP}]
-	)
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-	py.test -vv --ignore=docs \
-		--ignore="tests/test_proxy_connect.py" \
-		--ignore="tests/test_utils_display.py" \
-		--ignore="tests/test_command_check.py" \
-		--ignore="tests/test_feedexport.py" \
-		--ignore="tests/test_pipeline_files.py" \
-		--ignore="tests/test_pipeline_images.py" \
-		--ignore="tests/test_squeues.py" || die
-}

diff --git a/dev-python/scrapy/scrapy-2.8.0-r1.ebuild b/dev-python/scrapy/scrapy-2.8.0-r1.ebuild
deleted file mode 100644
index 6d31f0a7d3..0000000000
--- a/dev-python/scrapy/scrapy-2.8.0-r1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-DISTUTILS_USE_PEP517=setuptools
-inherit distutils-r1
-
-DESCRIPTION="A high-level Web Crawling and Web Scraping framework"
-HOMEPAGE="https://scrapy.org/"
-SRC_URI="https://github.com/scrapy/scrapy/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT=0
-KEYWORDS="~amd64"
-
-# The 'PyDispatcher>=2.0.5' distribution was not found and is required by Scrapy
-# https://bugs.gentoo.org/684734
-RDEPEND="${PYTHON_DEPS}
-	dev-python/cssselect[${PYTHON_USEDEP}]
-	dev-python/cryptography[${PYTHON_USEDEP}]
-	<dev-python/priority-2.0.0[${PYTHON_USEDEP}]
-	dev-python/h2[${PYTHON_USEDEP}]
-	dev-python/itemadapter[${PYTHON_USEDEP}]
-	dev-python/itemloaders[${PYTHON_USEDEP}]
-	dev-python/lxml[${PYTHON_USEDEP}]
-	dev-python/parsel[${PYTHON_USEDEP}]
-	dev-python/protego[${PYTHON_USEDEP}]
-	>=dev-python/pydispatcher-2.0.5[${PYTHON_USEDEP}]
-	dev-python/pyopenssl[${PYTHON_USEDEP}]
-	dev-python/queuelib[${PYTHON_USEDEP}]
-	dev-python/service-identity[${PYTHON_USEDEP}]
-	dev-python/six[${PYTHON_USEDEP}]
-	dev-python/tldextract[${PYTHON_USEDEP}]
-	>=dev-python/twisted-17.9.0[${PYTHON_USEDEP}]
-	<=dev-python/twisted-22.10.0[${PYTHON_USEDEP}]
-	dev-python/w3lib[${PYTHON_USEDEP}]
-	dev-python/zope-interface[${PYTHON_USEDEP}]
-"
-DEPEND="${RDEPEND}
-	test? (
-		dev-python/testfixtures[${PYTHON_USEDEP}]
-		dev-python/uvloop[${PYTHON_USEDEP}]
-	)
-"
-
-distutils_enable_tests pytest
-
-PATCHES=( "${FILESDIR}/${PN}-2.5.1-no-doctest.patch" )
-
-python_test() {
-	py.test -vv --ignore=docs \
-		--ignore="tests/test_proxy_connect.py" \
-		--ignore="tests/test_utils_display.py" \
-		--ignore="tests/test_command_check.py" \
-		--ignore="tests/test_feedexport.py" \
-		--ignore="tests/test_pipeline_files.py" \
-		--ignore="tests/test_pipeline_images.py" \
-		--ignore="tests/test_squeues.py" || die
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-30 20:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-30 20:24 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/scrapy/, dev-python/scrapy/files/ Lucio Sauer
  -- strict thread matches above, loose matches on Subject: below --
2021-11-15 19:59 Aisha Tammy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox