Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubicweb
Commits
d6f755d5f70e
Commit
75645f77
authored
Jul 13, 2021
by
Fabien Amarger
Browse files
chore(debian): Remove debian package from skeleton
parent
0b1158fb07b4
Pipeline
#68076
failed with stages
in 23 minutes and 59 seconds
Changes
13
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cubicweb/skeleton/.hgignore.tmpl
View file @
d6f755d5
...
...
@@ -22,9 +22,6 @@ build/
dist/
node_modules/
.mypy_cache/
debian/*.log
debian/*.substvars
debian/files
test/data/database/
test/data/ldapdb/
test/data/uicache/
...
...
cubicweb/skeleton/MANIFEST.in.tmpl
View file @
d6f755d5
...
...
@@ -6,7 +6,6 @@ recursive-include cubicweb_%(cubename)s/i18n *.po
recursive-include cubicweb_%(cubename)s/wdoc *
recursive-include test/data bootstrap_cubes *.py
include *.ini
prune debian
exclude cubicweb-%(cubename)s.spec
exclude .gitlab-ci.yml
exclude .yamllint
cubicweb/skeleton/debian/changelog.tmpl
deleted
100644 → 0
View file @
0b1158fb
%(distname)s (0.1.0-1) UNRELEASED; urgency=medium
* Initial release.
-- %(author)s <%(author-email)s> %(rfc2822-date)s
cubicweb/skeleton/debian/compat
deleted
100644 → 0
View file @
0b1158fb
9
cubicweb/skeleton/debian/control.tmpl
deleted
100644 → 0
View file @
0b1158fb
Source: %(distname)s
Section: web
Priority: optional
Maintainer: %(author)s <%(author-email)s>
Build-Depends:
debhelper (>= 9),
dh-python,
python3-all,
python3-setuptools,
python3-pytest,
python3-cubicweb,
Standards-Version: 4.3.0
X-Python3-Version: >= 3.4
Package: python3-%(distname)s
Architecture: all
Depends:
${python3:Depends},
${misc:Depends},
Description: %(shortdesc)s
CubicWeb is a semantic web application framework.
.
%(longdesc)s
.
This package will install all the components you need to run an application
using the %(distname)s cube.
cubicweb/skeleton/debian/copyright.tmpl
deleted
100644 → 0
View file @
0b1158fb
Upstream Author:
%(author)s <%(author-email)s>
Copyright:
Copyright (c) %(year)s %(author)s.
%(author-web-site)s -- mailto:%(author-email)s
cubicweb/skeleton/debian/pybuild.testfiles.tmpl
deleted
100644 → 0
View file @
0b1158fb
test
tox.ini
%(distname)s.egg-info
cubicweb/skeleton/debian/rules.tmpl
deleted
100644 → 0
View file @
0b1158fb
#!/usr/bin/make -f
export PYBUILD_NAME = %(distname)s
export PYBUILD_OPTION = --test-pytest
%%:
dh $@ --with python3 --buildsystem=pybuild
cubicweb/skeleton/debian/source/format
deleted
100644 → 0
View file @
0b1158fb
3.0 (quilt)
cubicweb/skeleton/debian/source/options
deleted
100644 → 0
View file @
0b1158fb
extend-diff-ignore = "^([^/]*\.spec$)"
cubicweb/skeleton/debian/tests/control
deleted
100644 → 0
View file @
0b1158fb
Tests: pytest
Depends:
@builddeps@,
# Uncomment if the tests require database access
# python3-cubicweb-postgresql-support
Restrictions:
allow-stderr,
# Uncomment if the tests require database access
# isolation-container,
cubicweb/skeleton/debian/tests/pytest
deleted
100644 → 0
View file @
0b1158fb
#!/bin/sh
set
-e
set
-x
### Setup tests
# Uncomment if tests require database access
#service postgresql restart || service postgresql start
#trap 'service postgresql stop' EXIT
cp
-r
test
tox.ini
"
$AUTOPKGTEST_TMP
"
chown
-R
nobody:nogroup
"
$AUTOPKGTEST_TMP
"
### Run tests
for
py
in
$(
py3versions
-r
2>/dev/null
)
;
do
cd
"
$AUTOPKGTEST_TMP
"
echo
"Testing with
$py
:"
su nobody
--shell
/bin/sh
\
-c
"
$py
-m pytest -v"
done
cubicweb/skeleton/tox.ini.tmpl
View file @
d6f755d5
...
...
@@ -55,30 +55,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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment