Skip to content

Commit

Permalink
scrapy 2.6.1 (#2)
Browse files Browse the repository at this point in the history
* DOR update to 2.6.1

* Update dependencies

* Update license

* Skip python 3.10

* Add a comment about python 3.10

* Remove libxml2 constraint

Co-authored-by: Serhii Kupriienko
  • Loading branch information
anaconda-pkg-build committed Mar 10, 2022
1 parent d643cfa commit 5426f36
Showing 1 changed file with 32 additions and 18 deletions.
50 changes: 32 additions & 18 deletions recipe/meta.yaml
Expand Up @@ -3,57 +3,71 @@
# https://github.com/scrapy/scrapy/wiki/Scrapy-release-procedure#conda-packages
#
{% set name = "Scrapy" %}
{% set version = "2.4.1" %}
{% set version = "2.6.1" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: 68c48f01a58636bdf0f6fcd5035a19ecf277b58af24bd70c36dc6e556df3e005
sha256: 56fd55a59d0f329ce752892358abee5a6b50b4fc55a40420ea317dc617553827

build:
script: "{{ PYTHON }} -m pip install . --no-deps -vv"
number: 0
# scrapy, pydispatcher >=2.0.5, queuelib, and parsel >=1.5
# currently aren't available on s390x
skip: True # [s390x or py<36]
script: {{ PYTHON }} -m pip install . --no-deps -vv
entry_points:
- scrapy = scrapy.cmdline:execute
number: 0

# The requirements below shall match the requirements from the target package
# version (check setup.py for changes).
requirements:
host:
- python
- pip

- setuptools
- wheel
run:
- python
- setuptools
- twisted >=13.1.0 # [not win]
- twisted >=16.4.0 # [win]
- pywin32 # [win]
# Same order as setup.py:
- twisted >=17.9.0
- cryptography >=2.0
- cssselect >=0.9.1
- itemloaders >=1.0.1
- parsel >=1.5.0
- pyOpenSSL >=16.2.0
- queuelib >=1.4.2
- service_identity >=16.0.0
- w3lib >=1.17.0
- queuelib
- itemadapter
- lxml
- pyopenssl
- cssselect >=0.9
- six >=1.5.2
- parsel >=1.5
- zope.interface >=4.1.3
- protego >=0.1.15
- itemadapter >=0.1.0
- setuptools
- tldextract
# cpython depenencies
- lxml >=3.5.0
- pydispatcher >=2.0.5
- service_identity
- libxml2

test:
imports:
- scrapy

requires:
- pip
commands:
# Ideally, we will run tests here but we require to provide the tests
# requirements first.
- pip check
- scrapy bench
- scrapy --help

about:
home: https://scrapy.org/
license: BSD 3-Clauses
license: BSD-3-Clause-Clear
license_file: LICENSE
summary: A high-level Python Screen Scraping framework
description: |
Expand Down

0 comments on commit 5426f36

Please sign in to comment.