Commit 00c4b4fc authored by Laurent Peuch's avatar Laurent Peuch
Browse files

chore: remove debian/fedora packaging

parent b779a437e76f
Pipeline #68794 waiting for manual action with stages
in 2 minutes and 27 seconds
......@@ -9,7 +9,6 @@ recursive-include cubicweb_addressbook/schema *.sql
include test/data/bootstrap_cubes
exclude .gitlab-ci.yml
exclude cubicweb-addressbook.spec
prune debian
exclude .yamllint
exclude .cube-doctor.yml
exclude .gitlab-ci-extended.yml
# 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-addressbook
Version: 1.10.1
Release: logilab.1%{?dist}
Summary: addressbook component for the CubicWeb framework
Group: Applications/Internet
License: LGPL
Source0: cubicweb-addressbook-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: %{python} %{python}-setuptools
Requires: cubicweb >= 3.24.0
Requires: cubicweb-geocoding >= 0.3.0
%description
addressbook component for the CubicWeb framework
This CubicWeb component store contact information such as postal
addresses, phone numbers, instant messager address.
%prep
%setup -q -n cubicweb-addressbook-%{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
%{__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-addressbook (1.10.2-1) unstable; urgency=medium
* New upstream release
-- Noe Gaumont <ngaumont@logilab.fr> Fri, 17 Jan 2020 17:10:45 +0100
cubicweb-addressbook (1.10.1-3) unstable; urgency=medium
* Add missing Breaks/Replaces
-- Philippe Pepiot <philippe.pepiot@logilab.fr> Tue, 26 Nov 2019 10:43:13 +0100
cubicweb-addressbook (1.10.1-2) unstable; urgency=medium
* Update Debian packaging with support for Python 3
-- Philippe Pepiot <philippe.pepiot@logilab.fr> Thu, 21 Nov 2019 12:27:52 +0100
cubicweb-addressbook (1.10.1-1) unstable; urgency=medium
* new upstream release
-- Philippe Pepiot <philippe.pepiot@logilab.fr> Wed, 06 Mar 2019 09:51:27 +0100
cubicweb-addressbook (1.10.0-1) unstable; urgency=medium
* new upstream release
-- Philippe Pepiot <philippe.pepiot@logilab.fr> Tue, 05 Mar 2019 14:26:08 +0100
cubicweb-addressbook (1.9.1-1) unstable; urgency=medium
* new upstream release
-- Sylvain Thenault <sylvain.thenault@logilab.fr> Wed, 11 May 2016 15:57:40 +0200
cubicweb-addressbook (1.9.0-1) unstable; urgency=low
* new upstream release
-- Samuel TRÉGOUËT <samuel.tregouet@logilab.fr> Wed, 27 May 2015 15:52:00 +0200
cubicweb-addressbook (1.8.0-1) unstable; urgency=low
* new upstream release
-- Adrien Di Mascio <Adrien.DiMascio@logilab.fr> Wed, 05 Mar 2014 17:33:24 +0100
cubicweb-addressbook (1.7.0-1) unstable; urgency=low
* new upstream release
-- David Douard <david.douard@logilab.fr> Mon, 10 Jun 2013 14:33:31 +0200
cubicweb-addressbook (1.6.4-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Mon, 09 Jul 2012 10:34:59 +0200
cubicweb-addressbook (1.6.3-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Fri, 07 Oct 2011 12:35:34 +0200
cubicweb-addressbook (1.6.2-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Wed, 06 Apr 2011 16:10:41 +0200
cubicweb-addressbook (1.6.1-1) unstable; urgency=low
* new upstream release for cw 3.9
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Fri, 18 Feb 2011 08:35:56 +0100
cubicweb-addressbook (1.6.0-1) unstable; urgency=low
* new upstream release for cw 3.6
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Wed, 27 Jan 2010 11:46:01 +0100
cubicweb-addressbook (1.5.0-1) unstable; urgency=low
* add IM address entity
* update i18n catalog
-- Graziella TOUTOUNGIS <graziella.toutoungis@logilab.fr> fri, 09 oct 2009 13:10:50 +0200
cubicweb-addressbook (1.4.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:14:43 +0200
cubicweb-addressbook (1.3.0-1) unstable; urgency=low
* initial public release
-- Nicolas Chauvat <nicolas.chauvat@logilab.fr> Fri, 24 Oct 2008 23:01:21 +0200
Source: cubicweb-addressbook
Section: web
Priority: optional
Maintainer: Logilab Packaging Team <contact@logilab.fr>
Build-Depends:
debhelper (>= 9),
dh-python,
python-all,
python-setuptools,
python-cubicweb,
python3-all,
python3-setuptools,
python3-cubicweb,
Standards-Version: 4.3.0
X-Python-Version: >= 2.7
X-Python3-Version: >= 3.5
Homepage: http://www.cubicweb.org/project/cubicweb-addressbook
Package: python-cubicweb-addressbook
Architecture: all
Depends:
${python:Depends},
${misc:Depends},
Breaks: cubicweb-addressbook (<< 1.10.1-2~)
Replaces: cubicweb-addressbook (<< 1.10.1-2~)
Description: contact information component for the CubicWeb framework
This CubicWeb component store contact information such as postal
addresses, phone numbers, instant messager address.
.
CubicWeb is a semantic web application framework, see http://www.cubicweb.org
Package: python3-cubicweb-addressbook
Architecture: all
Depends:
${python3:Depends},
${misc:Depends},
Description: contact information component for the CubicWeb framework
This CubicWeb component store contact information such as postal
addresses, phone numbers, instant messager address.
.
CubicWeb is a semantic web application framework, see http://www.cubicweb.org
Package: cubicweb-addressbook
Architecture: all
Section: oldlibs
Depends:
python-cubicweb-addressbook, ${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-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_geocoding python3-cubicweb-geocoding
cubicweb_geocoding python-cubicweb-geocoding
#!/usr/bin/make -f
export PYBUILD_NAME = cubicweb-addressbook
# Python 3.8 is broken in Debian unstable as of 2019-11-20
export PYBUILD_DISABLE_python3.8 = 1
%:
dh $@ --with python2,python3 --buildsystem=pybuild
extend-diff-ignore = "^(.hg(/|ignore$|tags$)|[^/]*\.spec$|__pkginfo__\.py$)"
......@@ -47,24 +47,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