Commit 7f8f8dcb authored by Laurent Peuch's avatar Laurent Peuch
Browse files

chore: remove debian/fedora packaging

parent ab46f353b016
Pipeline #68960 failed with stages
in 2 minutes and 7 seconds
......@@ -13,7 +13,6 @@ recursive-include test *.jpg
recursive-include test *.txt
include cubicweb_file/data/icons/README
exclude *.spec
prune debian
exclude .gitlab-ci.yml
exclude .yamllint
exclude .cube-doctor.yml
......
%define python python
%define __python /usr/bin/python
%{!?_python_sitelib: %define _python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: cubicweb-file
Version: 2.2.1
Release: logilab.1%{?dist}
Summary: file component for the CubicWeb framework
Group: Applications/Internet
License: LGPL
Source0: cubicweb-file-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: %{python} %{python}-setuptools
Requires: cubicweb >= 3.24.0
Requires: python-imaging
%description
file component for the CubicWeb framework
%prep
%setup -q -n cubicweb-file-%{version}
%install
%{__python} setup.py --quiet install --no-compile --prefix=%{_prefix} --root="$RPM_BUILD_ROOT"
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%{_python_sitelib}/*
cubicweb-file (3.0.0-1) unstable; urgency=medium
* New major release
-- Simon Chabot <simon.chabot@logilab.fr> Thu, 24 Jun 2021 17:04:08 +0200
cubicweb-file (2.3.0-2) unstable; urgency=medium
* Add missing Breaks/Replaces against cubicweb-file
-- Philippe Pepiot <philippe.pepiot@logilab.fr> Tue, 26 Nov 2019 11:02:56 +0100
cubicweb-file (2.3.0-1) unstable; urgency=medium
* New upstream release
-- Denis Laxalde <denis.laxalde@logilab.fr> Tue, 17 Sep 2019 10:10:50 +0200
cubicweb-file (2.2.3-2) unstable; urgency=medium
* Fix Breaks/Replaces in python-cubicweb-file binary
-- Denis Laxalde <denis.laxalde@logilab.fr> Tue, 09 Jul 2019 17:43:43 +0200
cubicweb-file (2.2.3-1) unstable; urgency=medium
* New upstream release.
-- Denis Laxalde <denis.laxalde@logilab.fr> Wed, 03 Jul 2019 13:47:48 +0200
cubicweb-file (2.2.2-2) unstable; urgency=medium
[ Philippe Pepiot ]
* Use pybuild
* Introduce a python{,3}-cubicweb-file binary packages
-- Denis Laxalde <denis.laxalde@logilab.fr> Fri, 28 Jun 2019 09:20:53 +0200
cubicweb-file (2.2.2-1) unstable; urgency=medium
* New upstream release.
-- Denis Laxalde <denis.laxalde@logilab.fr> Thu, 23 May 2019 15:46:37 +0200
cubicweb-file (2.2.1-1) unstable; urgency=medium
* new upstream release
-- Philippe Pepiot <philippe.pepiot@logilab.fr> Wed, 06 Mar 2019 09:48:53 +0100
cubicweb-file (2.2.0-1) unstable; urgency=medium
* new upstream release
-- Philippe Pepiot <philippe.pepiot@logilab.fr> Tue, 05 Mar 2019 14:28:06 +0100
cubicweb-file (2.0.1-1) unstable; urgency=medium
* new upstream release
* convert to debian package format 3.0 (quilt)
* fix debian/rules
* add a debian/watch
-- David Douard <david.douard@logilab.fr> Mon, 28 May 2018 14:56:12 +0200
cubicweb-file (2.0.0-1) unstable; urgency=medium
* New upstream release.
* New-style cube.
-- David Douard <david.douard@logilab.fr> Fri, 25 May 2018 09:50:20 +0200
cubicweb-file (1.18.0-1) unstable; urgency=medium
* New upstream release.
-- Denis Laxalde <denis.laxalde@logilab.fr> Mon, 14 Mar 2016 16:31:18 +0100
cubicweb-file (1.17.0-1) unstable; urgency=medium
* New upstream release.
* Migrate to debhelper 9.
-- Rémi Cardona <remi.cardona@logilab.fr> Wed, 08 Jul 2015 10:11:44 +0200
cubicweb-file (1.16.1-1) unstable; urgency=low
* new upstream release
-- Julien Cristau <julien.cristau@logilab.fr> Mon, 06 Oct 2014 10:35:18 +0200
cubicweb-file (1.16.0-1) unstable; urgency=low
* new upstream release
-- Samuel Trégouët <samuel.tregouet@logilab.fr> Fri, 14 Feb 2014 15:06:59 +0200
cubicweb-file (1.15.0-1) unstable; urgency=low
* new upstream release
-- David Douard <david.douard@logilab.fr> Mon, 30 Sep 2013 15:06:59 +0200
cubicweb-file (1.14.1-1) unstable; urgency=low
* new upstream release
-- David Douard <david.douard@logilab.fr> Thu, 01 Aug 2013 18:09:59 +0200
cubicweb-file (1.14.0-1) unstable; urgency=low
* new upstream release
-- David Douard <david.douard@logilab.fr> Tue, 09 Jul 2013 14:49:27 +0200
cubicweb-file (1.13.2-1) unstable; urgency=low
* new upstream release
-- Aurélien Campéas <aurelien.campeas@logilab.fr> Wed, 7 Mar 2013 16:55:00 +0100
cubicweb-file (1.13.1-1) unstable; urgency=low
* new upstream release
-- Aurélien Campéas <aurelien.campeas@logilab.fr> Wed, 30 Jan 2013 14:24:00 +0100
cubicweb-file (1.13.0-1) unstable; urgency=low
* new upstream release
-- Aurélien Campéas <aurelien.campeas@logilab.fr> Wed, 16 Jan 2013 12:25:00 +0100
cubicweb-file (1.12.0-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Mon, 09 Jul 2012 10:48:30 +0200
cubicweb-file (1.11.0-1) unstable; urgency=low
* new upstream release
-- David Douard <david.douard@logilab.fr> Fri, 17 Feb 2012 11:59:52 +0100
cubicweb-file (1.10.4-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Wed, 07 Sep 2011 18:46:27 +0200
cubicweb-file (1.10.3-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Fri, 27 May 2011 08:16:11 +0200
cubicweb-file (1.10.2-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Wed, 25 May 2011 14:18:52 +0200
cubicweb-file (1.10.1-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Mon, 24 Jan 2011 18:10:35 +0100
cubicweb-file (1.10.0-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Wed, 13 Oct 2010 14:53:51 +0200
cubicweb-file (1.9.0-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Wed, 07 Jul 2010 12:13:05 +0200
cubicweb-file (1.8.2-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Wed, 31 Mar 2010 15:06:57 +0200
cubicweb-file (1.8.1-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Thu, 18 Mar 2010 09:14:38 +0100
cubicweb-file (1.8.0-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Mon, 08 Feb 2010 22:36:58 +0100
cubicweb-file (1.7.0-1) unstable; urgency=low
* new upstream release
-- Nicolas Chauvat <nicolas.chauvat@logilab.fr> Sun, 29 Nov 2009 23:49:38 +0100
cubicweb-file (1.6.0-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Wed, 07 Oct 2009 10:43:26 +0200
cubicweb-file (1.5.1-1) unstable; urgency=low
* new upstream release
-- Nicolas Chauvat <nicolas.chauvat@logilab.fr> Wed, 20 May 2009 20:08:38 +0200
cubicweb-file (1.5.0-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Wed, 13 May 2009 12:29:08 +0200
cubicweb-file (1.4.4-1) unstable; urgency=low
* new upstream release
-- Aurélien Campéas <aurelien.campeas@logilab.fr> Thu, 09 Apr 2009 16:56:00 +0100
cubicweb-file (1.4.3-1) unstable; urgency=low
* new upstream release
-- Aurélien Campéas <aurelien.campeas@logilab.fr> Fri, 13 Mar 2009 15:13:05 +0100
cubicweb-file (1.4.2-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Wed, 25 Feb 2009 14:51:05 +0100
cubicweb-file (1.4.1-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Wed, 17 Dec 2008 12:10:48 +0100
cubicweb-file (1.4.0-2) unstable; urgency=low
* downgrade cubicweb dependency
-- Adrien Di Mascio <Adrien.DiMascio@logilab.fr> Tue, 09 Dec 2008 11:29:09 +0100
cubicweb-file (1.4.0-1) unstable; urgency=low
* new upstream release
-- Adrien Di Mascio <Adrien.DiMascio@logilab.fr> Tue, 09 Dec 2008 11:20:16 +0100
cubicweb-file (1.3.0-1) unstable; urgency=low
* new upstream release
-- Adrien Di Mascio <Adrien.DiMascio@logilab.fr> Wed, 24 Sep 2008 18:25:16 +0200
cubicweb-file (1.2.0-1) unstable; urgency=low
* new upstream release
-- Nicolas Chauvat <Nicolas.Chauvat@logilab.fr> Mon, 12 May 2008 22:19:39 +0200
cubicweb-file (1.1.1-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <Sylvain.Thenault@logilab.fr> Wed, 26 Mar 2008 11:22:52 +0100
cubicweb-file (1.1.0-1) unstable; urgency=low
* new upstream release
* update copyright file
* new dependency on python-imaging
-- Sylvain Thénault <Sylvain.Thenault@logilab.fr> Wed, 12 Mar 2008 11:01:21 +0100
cubicweb-file (1.0.3-1) unstable; urgency=low
* add debian/compat and debian/pycompat files, remove DH_COMPAT from rules
* update standards version, fixed uploaders/maintainer/section in debian/control
-- Adrien.DiMascio <Adrien.DiMascio@logilab.fr> Tue, 22 Jan 2008 14:21:11 +0100
cubicweb-file (1.0.2-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <Sylvain.Thenault@logilab.fr> Mon, 07 Jan 2008 16:16:53 +0100
cubicweb-file (1.0.1-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <Sylvain.Thenault@logilab.fr> Tue, 11 Dec 2007 11:10:05 +0100
cubicweb-file (1.0.0-1) unstable; urgency=low
* initial upstream release
-- Sylvain Thénault <Sylvain.Thenault@logilab.fr> Tue, 18 Sep 2007 16:31:38 +0200
Source: cubicweb-file
Section: web
Priority: optional
Maintainer: Logilab Packaging Team <contact@logilab.fr>
Uploaders: Nicolas Chauvat <nicolas.chauvat@logilab.fr>,
David Douard <david.douard@logilab.fr>
Build-Depends: debhelper (>= 9),
dh-python,
python3-all,
python3-cubicweb,
python3-cubicweb-folder,
python3-setuptools,
python3-pytest,
python3-pil,
Standards-Version: 4.3.0
Homepage: http://www.cubicweb.org/project/cubicweb-file
X-Python3-Version: >= 3.5
Package: python3-cubicweb-file
Architecture: all
Section: python
Depends: ${misc:Depends}, ${python3:Depends}
Description: file component for the CubicWeb framework (Python 3)
This CubicWeb component models files and images (pdf document,
word processor file, screenshots, etc).
.
CubicWeb is a semantic web framework, see http://www.cubicweb.org
This package was debianized by Logilab <contact@logilab.fr>.
Upstream Author:
Logilab <contact@logilab.fr>
Copyright:
Copyright (c) 2003-2008 LOGILAB S.A. (Paris, FRANCE).
http://www.logilab.fr/ -- mailto:contact@logilab.fr
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation; either version 2 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, write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
On Debian systems, the complete text of the GNU Lesser General Public License
may be found in '/usr/share/common-licenses/LGPL'.
cubicweb python3-cubicweb
test
tox.ini
cubicweb_file.egg-info
#!/usr/bin/make -f
export DH_VERBOSE=1
export PYBUILD_NAME = cubicweb-file
# Python 3.8 is broken in Debian unstable as of 2019-11-21
export PYBUILD_DISABLE_python3.8 = 1
export PYBUILD_DISABLE=test
%:
dh $@ --with python3 --buildsystem=pybuild
extend-diff-ignore = "(^[^/]*[.]egg-info/|.tox/|test/data/database/|dist/|cubicweb-file.spec)"
version=4
#opts=pgpsigurlmangle=s/$/.asc/ \
https://pypi.debian.net/cubicweb-file/cubicweb-file-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
......@@ -52,24 +52,6 @@ commands =
twine check dist/*
twine upload --skip-existing dist/*
[testenv:deb-publish]
passenv = JENKINS_USER JENKINS_TOKEN
basepython = python3
skip_install = true
whitelist_externals =
rm
sh
hg
deps =
httpie
commands =
hg clean --all --dirs --files
rm -rf build dist .egg .egg-info
python3 setup.py sdist
sh -c "PACKAGE_NAME=$(python3 setup.py --name) && VERSION=$(python3 setup.py --version) && cd dist && tar xf $PACKAGE_NAME-$VERSION.tar.gz && cd $PACKAGE_NAME-$VERSION && cp -a {toxinidir}/debian . && mk-origtargz --rename ../$PACKAGE_NAME-$VERSION.tar.gz && dpkg-buildpackage -us -uc --no-check-builddeps --build=source "
sh -c "cd dist && dcmd zip latest.zip *.changes"
http -f POST https://{env:JENKINS_USER}:{env:JENKINS_TOKEN}@jenkins.intra.logilab.fr/job/pkg-from-dsc/buildWithParameters DIST=buster source.zip@dist/latest.zip REPO=buster PUBLISH=true
[testenv:yamllint]
skip_install = true
deps = yamllint
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment