Commit 1ed4f076 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

chore: remove debian/fedora packaging

parent 81e36445877d
Pipeline #68894 waiting for manual action with stages
in 3 minutes and 6 seconds
......@@ -7,7 +7,6 @@ recursive-include cubicweb_registration/i18n *.po
recursive-include cubicweb_registration/migration *.py
recursive-include test/data bootstrap_cubes *.py
prune debian
exclude *.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-registration
Version: 0.7.0
Release: logilab.1%{?dist}
Summary: public registration component for the CubicWeb framework
Group: Applications/Internet
License: LGPL
Source0: cubicweb-registration-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: %{python} %{python}-setuptools
Requires: cubicweb >= 3.19.0
Requires: cubicweb-forgotpwd
Requires: %{python}-crypto
Requires: %{python}-imaging
%description
This CubicWeb component provides a public registration feature (users
can register and create an account without the need for admin
intervention).
%prep
%setup -q -n cubicweb-registration-%{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-registration (0.8.0-1) unstable; urgency=medium
* new upstream release
-- Katia Saurfelt <katia.saurfelt@logilab.fr> Thu, 08 Oct 2020 19:12:20 +0200
cubicweb-registration (0.7.0-1) unstable; urgency=medium
* new upstream release
-- Sylvain Thenault <sylvain.thenault@logilab.fr> Fri, 03 Mar 2017 14:40:29 +0100
cubicweb-registration (0.6.3-1) unstable; urgency=medium
* new upstream release
-- Sylvain Thenault <sylvain.thenault@logilab.fr> Fri, 13 Jan 2017 15:13:47 +0100
cubicweb-registration (0.6.2-1) unstable; urgency=low
* new upstream release
-- Katia Saurfelt <katia.saurfelt@logilab.fr> Thu, 18 Jun 2015 17:46:13 +0200
cubicweb-registration (0.6.1-1) unstable; urgency=low
* new upstream release
-- Katia Saurfelt <katia.saurfelt@logilab.fr> Mon, 23 Feb 2015 17:27:41 +0100
cubicweb-registration (0.6.0-1) unstable; urgency=low
* new upstream release
-- David Douard <david.douard@logilab.fr> Wed, 19 Nov 2014 10:54:58 +0100
cubicweb-registration (0.5.0-1) unstable; urgency=low
* new upstream release
-- Julien Cristau <julien.cristau@logilab.fr> Thu, 22 May 2014 18:24:40 +0200
cubicweb-registration (0.4.2-1) unstable; urgency=low
* new upstream release
-- Nicolas Chauvat <nicolas.chauvat@logilab.fr> Mon, 16 May 2011 16:04:19 +0200
cubicweb-registration (0.4.1-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Fri, 22 Oct 2010 09:17:51 +0200
cubicweb-registration (0.4.0-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Mon, 11 Oct 2010 15:25:41 +0200
cubicweb-registration (0.3.3-1) unstable; urgency=low
* new upstream release
-- Adrien Di Mascio <Adrien.DiMascio@logilab.fr> Thu, 06 May 2010 17:17:05 +0200
cubicweb-registration (0.3.2-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Thu, 15 Apr 2010 16:06:33 +0200
cubicweb-registration (0.3.1-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Fri, 26 Mar 2010 13:51:05 +0100
cubicweb-registration (0.3.0-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Thu, 25 Feb 2010 09:10:48 +0100
cubicweb-registration (0.2.1-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Tue, 22 Sep 2009 15:08:27 +0200
cubicweb-registration (0.2.0-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Wed, 02 Sep 2009 17:36:23 +0200
cubicweb-registration (0.1.0-1) unstable; urgency=low
* initial release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Mon, 06 Jul 2009 14:31:13 +0200
Source: cubicweb-registration
Section: web
Priority: optional
Maintainer: Logilab Packaging Team <contact@logilab.fr>
Build-Depends: debhelper (>= 9),
dh-python,
python3-all (>= 3.6),
python3-cubicweb,
python3-pycryptodome,
python3-setuptools,
python3-pytest,
Standards-Version: 4.3.0
Homepage: https://forge.extranet.logilab.fr/cubicweb/cubes/registration/
X-Python3-Version: >= 3.6
Package: cubicweb-registration
Architecture: all
Depends:
cubicweb-common (>= 3.27.0,<3.28),
cubicweb-forgotpwd,
python3-imaging,
python3-crypto,
${python3:Depends},
${misc:Depends},
Description: public registration component for the CubicWeb framework
This CubicWeb component provides a public registration feature (users
can register and create an account without the need for admin
intervention).
.
CubicWeb is a semantic web application framework, see http://www.cubicweb.org
Upstream Author:
LOGILAB S.A. (Paris, FRANCE) <contact@logilab.fr>
Copyright:
Copyright (c) 2009-2020 LOGILAB S.A. (Paris, FRANCE).
http://www.logilab.fr -- mailto:contact@logilab.fr
#!/usr/bin/make -f
export PYBUILD_NAME = cubicweb-registration
export PYBUILD_OPTION = --test-pytest
%:
dh $@ --with python3 --buildsystem=pybuild
extend-diff-ignore = "^([^/]*\.spec$)"
......@@ -48,24 +48,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