Commit 48d21b29 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

chore: remove debian/fedora packaging

parent bc0b716c8f3c
Pipeline #68956 failed with stages
in 25 seconds
......@@ -10,7 +10,6 @@ recursive-include cubicweb_signedrequest/wdoc *
recursive-include test *.py *.txt *.msg *.ini *.zip *.egg
recursive-include test/data/ *
prune debian
exclude .gitlab-ci.yml
exclude cubicweb-signedrequest.spec
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-signedrequest
Version: 0.5.0
Release: logilab.1%{?dist}
Summary: rest api for cubicweb
Group: Applications/Internet
License: LGPL
Source0: cubicweb-signedrequest-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: %{python} %{python}-setuptools
Requires: cubicweb >= 3.19.0
%description
rest api for cubicweb
%prep
%setup -q -n cubicweb-signedrequest-%{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)
%{_prefix}/share/cubicweb/cubes/*
cubicweb-signedrequest (1.0.0-1) unstable; urgency=medium
* New upstream release
-- Chabot Simon <schabot@wilson> Wed, 07 Oct 2020 10:07:25 +0200
cubicweb-signedrequest (0.5.2-1) unstable; urgency=high
* New upstream release
-- Elouan Martinet <elouan.martinet@logilab.fr> Thu, 24 Sep 2020 10:20:00 +0200
cubicweb-signedrequest (0.5.1-1) unstable; urgency=medium
* New upstream release
-- Philippe Pepiot <philippe.pepiot@logilab.fr> Fri, 27 Sep 2019 10:48:52 +0200
cubicweb-signedrequest (0.5.0-1) unstable; urgency=medium
* New upstream release
-- Philippe Pepiot <philippe.pepiot@logilab.fr> Tue, 05 Mar 2019 15:11:06 +0100
cubicweb-signedrequest (0.4.1-1) unstable; urgency=medium
* new upstream release
-- Philippe Pepiot <philippe.pepiot@logilab.fr> Tue, 18 Dec 2018 12:05:54 +0100
cubicweb-signedrequest (0.3.1-1) unstable; urgency=medium
* new upstream release.
-- Denis Laxalde <denis.laxalde@logilab.fr> Mon, 12 Feb 2018 10:22:49 +0100
cubicweb-signedrequest (0.3.0-2) unstable; urgency=medium
* Refresh debian packaging
-- Philippe Pepiot <philippe.pepiot@logilab.fr> Wed, 06 Dec 2017 14:24:53 +0100
cubicweb-signedrequest (0.3.0-1) unstable; urgency=medium
* new upstream release
-- Sylvain Thenault <sylvain.thenault@logilab.fr> Wed, 11 May 2016 15:48:40 +0200
cubicweb-signedrequest (0.2.1-1) unstable; urgency=medium
* new upstream release
-- David Douard <david.douard@logilab.fr> Thu, 23 Jul 2015 12:15:53 +0200
cubicweb-signedrequest (0.2.0-1) unstable; urgency=low
* new upstream release
* update from python-support to dh_python2
-- David Douard <david.douard@logilab.fr> Fri, 29 May 2015 22:42:56 +0200
cubicweb-signedrequest (0.1.3-1) unstable; urgency=low
* new upstream release
-- David Douard <david.douard@logilab.fr> Mon, 17 Nov 2014 14:43:02 +0100
cubicweb-signedrequest (0.1.2-1) unstable; urgency=low
* new upstream release
-- Julien Cristau <julien.cristau@logilab.fr> Fri, 27 Jun 2014 14:30:55 +0200
cubicweb-signedrequest (0.1.1-1) unstable; urgency=low
* new upstream revision
-- Florent Cayre <florent.cayre@logilab.fr> Fri, 28 Mar 2014 11:14:19 +0100
cubicweb-signedrequest (0.1.0-1) unstable; urgency=low
* initial release
-- Adrien Di Mascio <Adrien.DiMascio@logilab.fr> Fri, 13 Sep 2013 08:20:04 +0200
Source: cubicweb-signedrequest
Section: web
Priority: optional
Maintainer: LOGILAB S.A. (Paris, FRANCE) <contact@logilab.fr>
Build-Depends:
debhelper (>= 9),
python (>= 2.7),
dh-python,
python-setuptools,
Standards-Version: 3.9.8
X-Python-Version: >=2.7
Package: cubicweb-signedrequest
Architecture: all
Depends:
python-cubicweb (>= 3.24),
python-six (>= 1.4.0),
${python:Depends},
${misc:Depends},
Description: rest api authentication helper for cubicweb
CubicWeb is a semantic web application framework.
.
signed HTTP requests for cubicweb
.
This package will install all the components you need to use signed HTTP
requests in a CubicWeb application.
Upstream Author:
LOGILAB S.A. (Paris, FRANCE) <contact@logilab.fr>
Copyright:
Copyright (c) 2013-2015 LOGILAB S.A. (Paris, FRANCE).
http://www.logilab.fr -- mailto:contact@logilab.fr
#!/usr/bin/make -f
%:
dh $@ --with python2
......@@ -63,24 +63,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