Commit 822cd6e1 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

chore: remove debian/fedora packaging

parent 21a81a735912
Pipeline #68810 waiting for manual action with stages
in 2 minutes and 13 seconds
......@@ -8,7 +8,6 @@ recursive-include test/data bootstrap_cubes *.py
include dev-requirements.txt
include tox.ini
prune debian
exclude cubicweb-blog.spec
exclude .gitlab-ci.yml
exclude .yamllint
......
# for el5, force use of python2.6
%if 0%{?el5}
%define python python26
%define __python /usr/bin/python2.6
%else
%define python python
%define __python /usr/bin/python
%endif
%{!?_python_sitelib: %define _python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: cubicweb-blog
Version: 1.13.2
Release: logilab.1%{?dist}
Summary: blogging component for the CubicWeb framework
Group: Applications/Internet
License: LGPL
Source0: cubicweb-blog-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: %{python} %{python}-setuptools
Requires: cubicweb >= 3.19.0
Requires: %{python}-six >= 1.4.0
%description
blogging component for the CubicWeb framework
%prep
%setup -q -n cubicweb-blog-%{version}
%if 0%{?el5}
# change the python version in shebangs
find . -name '*.py' -type f -print0 | xargs -0 sed -i '1,3s;^#!.*python.*$;#! /usr/bin/python2.6;'
%endif
%install
NO_SETUPTOOLS=1 %{__python} setup.py --quiet install --no-compile --prefix=%{_prefix} --root="$RPM_BUILD_ROOT"
# remove generated .egg-info file
rm -rf $RPM_BUILD_ROOT/usr/lib/python*
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
/*
cubicweb-blog (1.14.1-1) unstable; urgency=medium
* Add content negociation
-- Noe Gaumont <noe.gaumont@logilab.fr> Wed, 12 Aug 2020 10:44:49 +0200
cubicweb-blog (1.13.3-2) unstable; urgency=medium
* Add Breaks/Replaces against cubicweb-blog
-- Philippe Pepiot <philippe.pepiot@logilab.fr> Tue, 26 Nov 2019 10:50:52 +0100
cubicweb-blog (1.13.3-1) unstable; urgency=medium
* new upstream release
* add python3 packaging
-- Philippe Pepiot <philippe.pepiot@logilab.fr> Fri, 22 Nov 2019 14:13:45 +0100
cubicweb-blog (1.13.2-1) unstable; urgency=medium
* new upstream release
-- Philippe Pepiot <philippe.pepiot@logilab.fr> Wed, 06 Mar 2019 09:53:25 +0100
cubicweb-blog (1.13.1-1) unstable; urgency=medium
* new upstream release
-- Philippe Pepiot <philippe.pepiot@logilab.fr> Tue, 05 Mar 2019 16:45:03 +0100
cubicweb-blog (1.13.0-1) unstable; urgency=medium
* new upstream release
-- Philippe Pepiot <philippe.pepiot@logilab.fr> Tue, 05 Mar 2019 14:41:29 +0100
cubicweb-blog (1.12.0-1) unstable; urgency=medium
* New upstream release.
-- Julien Cristau <jcristau@debian.org> Mon, 14 Mar 2016 16:51:50 +0100
cubicweb-blog (1.11.1-1) unstable; urgency=medium
* New upstream release.
-- Rémi Cardona <remi.cardona@logilab.fr> Wed, 21 Oct 2015 12:47:02 +0200
cubicweb-blog (1.11.0-1) unstable; urgency=medium
* New upstream release.
* Upgrade packaging to debhelper 8.
-- Rémi Cardona <remi.cardona@logilab.fr> Thu, 11 Jun 2015 14:56:34 +0200
cubicweb-blog (1.10.1-1) unstable; urgency=low
* new upstream release
-- David Douard <david.douard@logilab.fr> Fri, 14 Feb 2014 12:41:12 +0100
cubicweb-blog (1.10.0-1) unstable; urgency=low
* new upstream release
-- David Douard <david.douard@logilab.fr> Mon, 05 Aug 2013 11:44:54 +0200
cubicweb-blog (1.9.7-1) unstable; urgency=low
* new upstream release
-- David Douard <david.douard@logilab.fr> Fri, 02 Aug 2013 16:41:44 +0200
cubicweb-blog (1.9.6-1) unstable; urgency=low
* new upstream release
-- Arthur Lutz <arthur.lutz@logilab.fr> Thu, 14 Jun 2012 12:39:12 +0200
cubicweb-blog (1.9.5-1) unstable; urgency=low
* new upstream release
-- Arthur Lutz <arthur.lutz@logilab.fr> Mon, 11 Jun 2012 17:41:14 +0200
cubicweb-blog (1.9.4-1) unstable; urgency=low
* new upstream release
-- Arthur Lutz <arthur.lutz@logilab.fr> Thu, 07 Jun 2012 11:45:46 +0200
cubicweb-blog (1.9.3-1) unstable; urgency=low
* new upstream release
-- David Douard <david.douard@logilab.fr> Fri, 02 Mar 2012 11:41:23 +0100
cubicweb-blog (1.9.2-1) unstable; urgency=low
* new upstream release
-- David Douard <david.douard@logilab.fr> Fri, 03 Feb 2012 15:26:48 +0100
cubicweb-blog (1.9.1-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Mon, 17 Jan 2011 16:14:47 +0100
cubicweb-blog (1.9.0-1) unstable; urgency=low
* new upstreazm release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Tue, 12 Oct 2010 18:31:41 +0200
cubicweb-blog (1.8.0-1) unstable; urgency=low
* new upstream release
-- Nicolas Chauvat <nicolas.chauvat@logilab.fr> Fri, 16 Jul 2010 13:05:39 +0200
cubicweb-blog (1.7.4-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Mon, 26 Apr 2010 15:22:14 +0200
cubicweb-blog (1.7.3-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Thu, 15 Apr 2010 18:21:15 +0200
cubicweb-blog (1.7.2-1) unstable; urgency=low
* new upstream release
-- Sandrine Ribeau <sandrine.ribeau@logilab.fr> Tue, 23 Mar 2010 11:08:45 -0700
cubicweb-blog (1.7.1-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Wed, 24 Feb 2010 14:17:22 +0100
cubicweb-blog (1.7.0-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Mon, 08 Feb 2010 21:32:37 +0100
cubicweb-blog (1.6.2-1) unstable; urgency=low
* new upstream release
-- Arthur Lutz <arthur.lutz@logilab.fr> Tue, 24 Jun 2009 19:40:00 +0200
cubicweb-blog (1.6.1-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Tue, 23 Jun 2009 17:40:17 +0200
cubicweb-blog (1.6.0-1) unstable; urgency=low
* new upstream release depending on cubicweb 3.2
* rules: remove pythonX.Y/site-packages junk
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Wed, 13 May 2009 09:39:29 +0200
cubicweb-blog (1.5.1-1) unstable; urgency=low
* new upstream release
-- Katia Saurfelt <katia.saurfelt@logilab.fr> Wed, 22 Apr 2009 10:02:35 +0200
cubicweb-blog (1.5.0-1) unstable; urgency=low
* new upstream release
-- Graziella Toutoungis <graziella.toutoungis@logilab.fr> Mon, 30 Mar 2009 14:33:03 +0100
cubicweb-blog (1.4.3-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Tue, 10 Mar 2009 17:13:03 +0100
cubicweb-blog (1.4.2-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Wed, 25 Feb 2009 16:45:40 +0100
cubicweb-blog (1.4.1-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Thu, 08 Jan 2009 14:09:44 +0100
cubicweb-blog (1.4.0-1) unstable; urgency=low
* new upstream release
-- Laure Bourgois <Laure.Bourgois@logilab.fr> Mon, 01 Dec 2008 16:44:08 +0100
cubicweb-blog (1.3.0-1) unstable; urgency=low
* new upstream release
-- Adrien Di Mascio <Adrien.DiMascio@logilab.fr> Thu, 09 Oct 2008 15:02:08 +0200
cubicweb-blog (1.2.2-2) unstable; urgency=low
* new upstream release
-- Julien Jehannet <julien.jehannet@logilab.fr> Fri, 3 Oct 2008 14:05:01 +0200
cubicweb-blog (1.2.2-1) unstable; urgency=low
* new upstream release
-- Julien Jehannet <julien.jehannet@logilab.fr> Fri, 3 Oct 2008 11:15:11 +0200
cubicweb-blog (1.2.1-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Mon, 11 Aug 2008 13:26:31 +0200
cubicweb-blog (1.2.0-1) unstable; urgency=low
* new upstream release
-- Nicolas Chauvat <Nicolas.Chauvat@logilab.fr> Thu, 7 Aug 2008 17:41:00 +0200
cubicweb-blog (1.1.0-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Thu, 12 Jun 2008 17:23:21 +0200
cubicweb-blog (1.0.2-1) unstable; urgency=low
* new upstream release
-- Nicolas Chauvat <Nicolas.Chauvat@logilab.fr> Mon, 12 May 2008 21:50:19 +0200
cubicweb-blog (1.0.1-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
* new upstream release
-- Sylvain Thénault <Sylvain.Thenault@logilab.fr> Wed, 26 Mar 2008 11:10:15 +0100
cubicweb-blog (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-blog
Section: web
Priority: optional
Maintainer: Logilab Packaging Team <contact@logilab.fr>
Uploaders: Sylvain Thenault <sylvain.thenault@logilab.fr>,
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
Build-Depends: debhelper (>= 9),
dh-python,
python-all,
python-cubicweb,
python-cubicweb-sioc,
python-pytest,
python-setuptools,
python3-all,
python3-cubicweb,
python3-cubicweb-sioc,
python3-pytest,
python3-setuptools,
Standards-Version: 4.3.0
X-Python-Version: >= 2.7
X-Python3-Version: >= 3.5
Homepage: https://www.cubicweb.org/project/cubicweb-blog
Package: python-cubicweb-blog
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}
Breaks: cubicweb-blog (<< 1.13.3-1~)
Replaces: cubicweb-blog (<< 1.13.3-1~)
Suggests: python-cubicweb-comment (>= 1.6.3),
python-cubicweb-sioc,
python-cubicweb-tag,
python-feedparser,
python-rdflib,
Recommends: python-cubicweb-preview, python-cubicweb-seo
Description: blog component for the CubicWeb framework
This CubicWeb component provides blogging functionnalities.
.
CubicWeb is a semantic web application framework, see http://www.cubicweb.org
Package: python3-cubicweb-blog
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}
Suggests: python3-cubicweb-comment (>= 1.6.3),
python3-cubicweb-sioc,
python3-cubicweb-tag,
python3-feedparser,
python3-rdflib,
Recommends: python3-cubicweb-preview, python3-cubicweb-seo
Description: blog component for the CubicWeb framework
This CubicWeb component provides blogging functionnalities.
.
CubicWeb is a semantic web application framework, see http://www.cubicweb.org
Package: cubicweb-blog
Architecture: all
Section: oldlibs
Depends: python-cubicweb-blog, ${misc:Depends}
Description: transitional package
This is a transitional package. It can safely be removed.
This package was debianized by Logilab <contact@logilab.fr>.
Upstream Author:
Logilab <contact@logilab.fr>
Copyright:
Copyright (c) 2003-2010 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'.
test
tox.ini
cubicweb_blog.egg_info
#!/usr/bin/make -f
export PYBUILD_NAME = cubicweb-blog
# Python 3.8 is broken in Debian unstable as of 2019-11-21
export PYBUILD_DISABLE_python3.8 = 1
%:
dh $@ --with python2,python3 --buildsystem=pybuild
extend-diff-ignore = "^(.hg(/|ignore$|tags$)|[^/]*\.spec$|__pkginfo__\.py$)"
version=3
opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
https://pypi.debian.net/cubicweb-blog/cubicweb-blog-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
......@@ -54,24 +54,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