diff --git a/debian/changelog b/debian/changelog index c6cbb11..b3532a0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,5 @@ - (0.0.1-1) unstable; urgency=low +swh-mirror-forge (0.0.1-1) unstable; urgency=low * - -- AUTHOR-NAME + -- Antoine R. Dumont (@ardumont) Fri, 3 Feb 2017 13:54:29 +0100 diff --git a/debian/control b/debian/control index 10661d1..fbb588b 100644 --- a/debian/control +++ b/debian/control @@ -1,19 +1,18 @@ -Source: +Source: swh-mirror-forge Maintainer: Software Heritage developers Section: python Priority: optional Build-Depends: debhelper (>= 9), dh-python, python3-all, python3-nose, python3-setuptools, - python3-swh.core, - python3-swh.storage, - python3-vcversioner + python3-vcversioner, + python3-requests Standards-Version: 3.9.6 Homepage: https://forge.softwareheritage.org/diffusion// -Package: python3- +Package: python3-swh.mirror.forge Architecture: all -Depends: ${misc:Depends}, ${python3:Depends} -Description: Software Heritage +Depends: arcanist, ${misc:Depends}, ${python3:Depends} +Description: Software Heritage Mirror Forge diff --git a/debian/copyright b/debian/copyright index 81d037d..9fa1b0b 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,22 +1,22 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Files: * -Copyright: 2015 The Software Heritage developers +Copyright: 2017 The Software Heritage developers License: GPL-3+ License: GPL-3+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'. diff --git a/requirements.txt b/requirements.txt index 151b926..c8549cd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ # Add here external Python modules dependencies, one per line. Module names # should match https://pypi.python.org/pypi names. For the full spec or # dependency lines, see https://pip.readthedocs.org/en/1.1/requirements.html vcversioner +requests diff --git a/setup.py b/setup.py index b71448a..f171043 100644 --- a/setup.py +++ b/setup.py @@ -1,30 +1,30 @@ from setuptools import setup def parse_requirements(): requirements = [] with open('requirements.txt') as f: for line in f.readlines(): line = line.strip() if not line or line.startswith('#'): continue requirements.append(line) return requirements # Edit this part to match your module # full sample: https://forge.softwareheritage.org/diffusion/DCORE/browse/master/setup.py setup( - name='swh.', - description='Software Heritage ', + name='swh.mirror.forge', + description='Mirror swh''s forge to github', author='Software Heritage developers', author_email='swh-devel@inria.fr', - url='https://forge.softwareheritage.org/diffusion/', - packages=[], # packages's modules - scripts=[], # scripts to package + url='https://forge.softwareheritage.org/source/swh-mirror-forge/', + packages=['swh.mirror.forge'], + scripts=[], install_requires=parse_requirements(), setup_requires=['vcversioner'], vcversioner={}, include_package_data=True, )