Commit e70e833a authored by Laurent Peuch's avatar Laurent Peuch
Browse files

chore: remove debian/fedora packaging

parent 0d8154d87f2a
# 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-email
Version: 1.12.0
Release: logilab.1%{?dist}
Summary: email component for the CubicWeb framework
Group: Applications/Internet
License: LGPL
Source0: cubicweb-email-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: %{python} %{python}-setuptools
Requires: cubicweb >= 3.20.0
Requires: cubicweb-file >= 1.9.0
Requires: logilab-common >= 0.58.3
%description
email component for the CubicWeb framework
%prep
%setup -q -n cubicweb-email-%{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-email (1.12.0-1) unstable; urgency=medium
* new upstream release
-- David Douard <david.douard@logilab.fr> Tue, 12 Jan 2016 17:21:31 +0100
cubicweb-email (1.11.1-1) unstable; urgency=medium
* new upstream release
-- David Douard <david.douard@logilab.fr> Mon, 21 Dec 2015 14:19:15 +0100
cubicweb-email (1.11.0-1) unstable; urgency=medium
* new upstream release
-- David Douard <david.douard@logilab.fr> Fri, 26 Jun 2015 14:23:06 +0200
cubicweb-email (1.10.0-1) unstable; urgency=low
* new upstream release
-- David Douard <david.douard@logilab.fr> Fri, 03 May 2013 16:49:02 +0200
cubicweb-email (1.9.0-1) precise; urgency=low
* new upstream release
-- David Douard <david.douard@logilab.fr> Wed, 14 Nov 2012 16:25:50 +0100
cubicweb-email (1.8.2-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Tue, 05 Oct 2010 08:41:10 +0200
cubicweb-email (1.8.1-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Thu, 09 Sep 2010 18:08:24 +0200
cubicweb-email (1.8.0-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Tue, 27 Jul 2010 16:16:03 +0200
cubicweb-email (1.7.1-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Tue, 20 Apr 2010 12:35:40 +0200
cubicweb-email (1.7.0-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Tue, 09 Feb 2010 08:45:55 +0100
cubicweb-email (1.6.0-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Wed, 07 Oct 2009 10:00:28 +0200
cubicweb-email (1.5.1-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Wed, 05 Aug 2009 13:05:18 +0200
cubicweb-email (1.5.0-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Wed, 13 May 2009 11:28:08 +0200
cubicweb-email (1.4.1-1) unstable; urgency=low
* new upstream release
-- Laure Bourgois <laure.bourgois@logilab.fr> Thu, 05 Mar 2009 17:39:10 +0100
cubicweb-email (1.4.0-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Wed, 17 Dec 2008 12:31:15 +0100
cubicweb-email (1.3.0-1) unstable; urgency=low
* new upstream release
-- Adrien Di Mascio <Adrien.DiMascio@logilab.fr> Wed, 24 Sep 2008 18:18:50 +0200
cubicweb-email (1.2.4-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <Sylvain.Thenault@logilab.fr> Fri, 06 Jun 2008 12:41:02 +0200
cubicweb-email (1.2.3-1) unstable; urgency=low
* new upstream release
-- Nicolas Chauvat <Nicolas.Chauvat@logilab.fr> Mon, 12 May 2008 22:11:08 +0200
cubicweb-email (1.2.2-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <Sylvain.Thenault@logilab.fr> Wed, 26 Mar 2008 11:34:52 +0100
cubicweb-email (1.2.1-1) unstable; urgency=low
* new upstream release
* update standards version and fix section in control
-- Sylvain Thénault <Sylvain.Thenault@logilab.fr> Wed, 27 Feb 2008 10:55:30 +0100
cubicweb-email (1.2.0-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Fri, 15 Feb 2008 12:04:05 +0100
cubicweb-email (1.1.2-1) unstable; urgency=low
* new upstream release
-- Adrien.DiMascio <Adrien.DiMascio@logilab.fr> Wed, 06 Feb 2008 08:33:04 +0100
cubicweb-email (1.1.1-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <Sylvain.Thenault@logilab.fr> Tue, 29 Jan 2008 13:09:38 +0100
cubicweb-email (1.1.0-1) unstable; urgency=low
* add debian/compat and debian/pycompat files, remove DH_COMPAT from rules
* fixed uploaders/maintainer in debian/control
* new upstream release
-- Sylvain Thénault <Sylvain.Thenault@logilab.fr> Fri, 25 Jan 2008 10:11:51 +0100
cubicweb-email (1.0.3-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <Sylvain.Thenault@logilab.fr> Mon, 26 Nov 2007 16:32:50 +0100
cubicweb-email (1.0.2-1) unstable; urgency=low
* more packaging fixes :/
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Tue, 30 Oct 2007 18:51:43 +0100
cubicweb-email (1.0.1-1) unstable; urgency=low
* packaging fixes
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Tue, 30 Oct 2007 17:49:25 +0100
cubicweb-email (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-email
Section: web
Priority: optional
Maintainer: Logilab S.A. <contact@logilab.fr>
Uploaders:
Sylvain Thenault <sylvain.thenault@logilab.fr>,
David Douard <david.douard@logilab.fr>,
Nicolas Chauvat <nicolas.chauvat@logilab.fr>,
Build-Depends:
debhelper (>= 9),
python-all (>= 2.6.6-3),
Standards-Version: 3.9.6
X-Python-Version: >= 2.6
Homepage: https://www.cubicweb.org/project/cubicweb-email
Package: cubicweb-email
Architecture: all
Depends:
cubicweb-common (>= 3.20.0),
cubicweb-file (>= 1.9.0),
${python:Depends},
${misc:Depends},
Description: email component for the CubicWeb framework
This CubicWeb component models email messages.
.
CubicWeb is a semantic web framework, see http://www.cubicweb.org
Package: cwemail-mboximport
Architecture: all
Depends:
python-cwclientlib (>= 0.3.1),
python-logilab-common,
${python:Depends},
${misc:Depends},
Description: command line utility to import email mbox files in a CubicWeb
instance that embeds the cubicweb-email cube.
.
CubicWeb is a semantic web framework, see http://www.cubicweb.org
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: cubicweb-email
Source: https://www.cubicweb.org/project/cubicweb-email
Files: *
Copyright: 2003-2015, Logilab S.A.
License: LGPL-2.1
License: LGPL-2.1
This library 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;
version 2.1 of the License.
.
This library 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
Lesser General Public License for more details.
.
On Debian systems, the full text of the GNU Lesser General Public
License version 2.1 can be found in the file
`/usr/share/common-licenses/LGPL-2.1'.
usr/share/cubicweb
\ No newline at end of file
usr/bin
usr/lib
\ No newline at end of file
#!/usr/bin/make -f
export NO_SETUPTOOLS=1
%:
dh $@ --with python2
override_dh_python2:
dh_python2 -i /usr/share/cubicweb
dh_python2
extend-diff-ignore="^([^/]+\.egg-info/|.hg|/dist|test/data/database/*)"
......@@ -22,20 +22,3 @@ 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
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