Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Generated version as pep440 and dpkg compatible

Daniel Graña47b1b748c25f
diff --git a/Makefile.buildbot b/Makefile.buildbot
index a6c4bbbc3..775538259 100644
--- a/Makefile.buildbot
+++ b/Makefile.buildbot
@@ -8,8 +8,10 @@ test:
-s3cmd sync -P htmlcov/ s3://static.scrapy.org/coverage-scrapy-$(BRANCH)/
build:
- test $(BRANCH) != master || git describe --tags | sed -r 's/([0-9]+.[0-9]*.[0-9]*)(rc|dev)(.*)/\1~\2\3/' >scrapy/VERSION
- debchange -m -D unstable --force-distribution -v `python setup.py --version`+`date +%s` "Automatic build"
+ git describe --tags --match '[0-9]*' |sed 's/-/.post/;s/-g/+g/' >scrapy/VERSION
+ debchange -m -D unstable --force-distribution -v \
+ $$(python setup.py --version |sed -r 's/([0-9]+.[0-9]+.[0-9]+)(a|b|rc|dev)([0-9]*)/\1~\2\3/')-$$(date +%s) \
+ "Automatic build"
debuild -us -uc -b
clean:
diff --git a/debian/control b/debian/control
index 75225f30d..f3a31753b 100644
--- a/debian/control
+++ b/debian/control
@@ -11,8 +11,8 @@ Architecture: all
Depends: ${python:Depends}, python-lxml, python-twisted, python-openssl,
python-w3lib (>= 1.8.0), python-queuelib, python-cssselect (>= 0.9), python-six (>=1.5.2)
Recommends: python-setuptools
-Conflicts: python-scrapy, scrapy, scrapy-0.11
-Provides: python-scrapy, scrapy
+Conflicts: python-scrapy, scrapy-0.25
+Provides: python-scrapy, scrapy-0.25
Description: Python web crawling and web scraping framework
Scrapy is a fast high-level web crawling and web scraping framework,
used to crawl websites and extract structured data from their pages.