Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pistache
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
pistache
Commits
b1ef6ce8
Unverified
Commit
b1ef6ce8
authored
Sep 28, 2021
by
Kip
Committed by
GitHub
Sep 28, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #990 from Tachi107/debian-watch
build(debian): use d/watch to download latest HEAD
parents
8df658ec
47152583
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
71 deletions
+19
-71
changelog
changelog
+3
-3
control
control
+12
-14
libpistache-dev.docs
libpistache-dev.docs
+0
-1
libpistache0.docs
libpistache0.docs
+0
-1
rules
rules
+1
-50
watch
watch
+3
-2
No files found.
changelog
View file @
b1ef6ce8
pistache (0.0.002-
pistache1) impish; urgency=medium
pistache (0.0.002-
1) UNRELEASED; urgency=low
*
Latest upstream.
*
Initial release. Closes: #929593
-- Kip Warner <kip@thevertigo.com>
Sun, 27 Dec 2020 16:40:00 -07
00
-- Kip Warner <kip@thevertigo.com>
Tue, 28 Sep 2021 14:45:20 +00
00
control
View file @
b1ef6ce8
...
@@ -3,28 +3,25 @@
...
@@ -3,28 +3,25 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: Apache-2.0
Source: pistache
Source: pistache
Section: lib
devel
Section: lib
s
Priority: optional
Priority: optional
Maintainer: Kip Warner <kip@thevertigo.com>
Maintainer: Kip Warner <kip@thevertigo.com>
Standards-Version: 4.6.0
Standards-Version: 4.6.0
Build-Depends: debhelper-compat (= 12),
Build-Depends: debhelper-compat (= 12), meson (>= 0.50.0), python3-distutils
meson (>= 0.50.0),
Build-Depends-Arch: libcurl4-openssl-dev,
python3-distutils
Build-Depends-Arch: pkg-config,
libssl-dev,
rapidjson-dev,
libgtest-dev (>= 1.8.0) | googletest (>= 1.8.0),
libgtest-dev (>= 1.8.0) | googletest (>= 1.8.0),
libcurl4-openssl-dev
libssl-dev,
pkg-config,
rapidjson-dev
Vcs-Git: https://github.com/pistacheio/pistache.git
Vcs-Git: https://github.com/pistacheio/pistache.git
Vcs-
b
rowser: https://github.com/pistacheio/pistache
Vcs-
B
rowser: https://github.com/pistacheio/pistache
Homepage: http://pistache.io
Homepage: http://pistache.io
Rules-Requires-Root: no
Rules-Requires-Root: no
Package: libpistache0
Package: libpistache0
Architecture: any
Architecture: any
Pre-Depends: ${misc:Pre-Depends}
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends},
Depends: ${misc:Depends}, ${shlibs:Depends}
${shlibs:Depends}
Description: elegant C++ REST framework
Description: elegant C++ REST framework
Pistache is a modern and elegant HTTP and REST framework for C++.
Pistache is a modern and elegant HTTP and REST framework for C++.
It is entirely written in pure C++17 and provides a clear and pleasant API.
It is entirely written in pure C++17 and provides a clear and pleasant API.
...
@@ -35,12 +32,13 @@ Description: elegant C++ REST framework
...
@@ -35,12 +32,13 @@ Description: elegant C++ REST framework
This package contains the shared library built with TLS support.
This package contains the shared library built with TLS support.
Package: libpistache-dev
Package: libpistache-dev
Section: libdevel
Architecture: any
Architecture: any
Pre-Depends: ${misc:Pre-Depends}
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends},
Depends: libpistache0 (= ${binary:Version}),
libpistache0 (= ${binary:Version}),
libssl-dev,
libssl-dev,
rapidjson-dev
rapidjson-dev,
${misc:Depends}
Description: elegant C++ REST framework - development files
Description: elegant C++ REST framework - development files
Pistache is a modern and elegant HTTP and REST framework for C++.
Pistache is a modern and elegant HTTP and REST framework for C++.
It is entirely written in pure C++17 and provides a clear and pleasant API.
It is entirely written in pure C++17 and provides a clear and pleasant API.
...
...
libpistache-dev.docs
View file @
b1ef6ce8
README.md
README.md
LICENSE
libpistache0.docs
View file @
b1ef6ce8
README.md
README.md
LICENSE
rules
View file @
b1ef6ce8
...
@@ -16,19 +16,6 @@ export DH_BUILD_MAINT_OPTIONS = hardening=+all
...
@@ -16,19 +16,6 @@ export DH_BUILD_MAINT_OPTIONS = hardening=+all
export LC_ALL = C.UTF-8
export LC_ALL = C.UTF-8
# Should be avoided since debhelper 9
# https://www.debian.org/doc/manuals/debmake-doc/ch05.en.html#variablesrules
# Including only the necessary variables
include /usr/share/dpkg/pkg-info.mk
# Directory containing package since may not be called from current working
# directory. MAKEFILE_LIST pre-defined by Make and appended each time another
# makefile is included, so first one should be debian/rules...
PACKAGE_DIR = $(abspath $(dir $(firstword $(MAKEFILE_LIST))))
# Source directory...
SOURCE_DIR = $(abspath $(PACKAGE_DIR)/../)
# Main packaging script based on debhelper 7 syntax. The % is an implicit
# Main packaging script based on debhelper 7 syntax. The % is an implicit
# pattern rule that acts as a universal target...
# pattern rule that acts as a universal target...
%:
%:
...
@@ -42,42 +29,6 @@ override_dh_auto_configure:
...
@@ -42,42 +29,6 @@ override_dh_auto_configure:
-DPISTACHE_BUILD_TESTS=true \
-DPISTACHE_BUILD_TESTS=true \
-DPISTACHE_ENABLE_NETWORK_TESTS=false \
-DPISTACHE_ENABLE_NETWORK_TESTS=false \
-DPISTACHE_BUILD_DOCS=false \
-DPISTACHE_BUILD_DOCS=false \
-DPISTACHE_USE_SSL=true
\
-DPISTACHE_USE_SSL=true
#override_dh_auto_test: https://github.com/pistacheio/pistache/blob/f3080e9e4e7ce5d0cb866b5d6320d51205c33ff0/debian/rules#L53-L63
#override_dh_auto_test: https://github.com/pistacheio/pistache/blob/f3080e9e4e7ce5d0cb866b5d6320d51205c33ff0/debian/rules#L53-L63
# get-orig-source is deprecated since version 4.1.4 of the Debian Policy
# Prepare an upstream vanilla distribution tarball as per DPM § 4.9...
# http://wiki.debian.org/onlyjob/get-orig-source
get-orig-source: $(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM).orig.tar.gz $(info I: $(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM))
@
# Prepare an upstream vanilla distribution tarball...
# meson dist does not include .github in the source tarball (mesonbuild/meson#8541)
# so it is necessary to manually add the folder to the archive
$(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM).orig.tar.gz:
@echo "# Preparing source for $(DEB_SOURCE) v$(DEB_VERSION_UPSTREAM)..."
cd $(SOURCE_DIR) \
&& cd $(PACKAGE_DIR) \
&& meson setup $(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM) .. \
--buildtype=plain \
-DPISTACHE_BUILD_EXAMPLES=true \
-DPISTACHE_BUILD_TESTS=true \
-DPISTACHE_ENABLE_NETWORK_TESTS=false \
-DPISTACHE_BUILD_DOCS=false \
-DPISTACHE_USE_SSL=true \
--prefix=/usr \
--wrap-mode=nodownload \
&& meson dist -C $(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM) --formats=gztar \
&& cd $(PACKAGE_DIR)/$(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM) \
&& mkdir $(DEB_SOURCE)-$(DEB_VERSION_UPSTREAM) \
&& cp -r $(SOURCE_DIR)/.github $(DEB_SOURCE)-$(DEB_VERSION_UPSTREAM) \
&& gunzip $(PACKAGE_DIR)/$(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM)/meson-dist/$(DEB_SOURCE)-$(DEB_VERSION_UPSTREAM).tar.gz \
&& tar --append --file=$(PACKAGE_DIR)/$(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM)/meson-dist/$(DEB_SOURCE)-$(DEB_VERSION_UPSTREAM).tar $(DEB_SOURCE)-$(DEB_VERSION_UPSTREAM)/.github \
&& gzip $(PACKAGE_DIR)/$(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM)/meson-dist/$(DEB_SOURCE)-$(DEB_VERSION_UPSTREAM).tar \
&& mv $(PACKAGE_DIR)/$(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM)/meson-dist/$(DEB_SOURCE)-$(DEB_VERSION_UPSTREAM).tar.gz $(SOURCE_DIR)/../$@
@echo "# Cleaning up..."
$(RM) -r $(PACKAGE_DIR)/$(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM)
# Targets which aren't actual products...
.PHONY: get-orig-source override_dh_auto_configure# override_dh_auto_test
watch
View file @
b1ef6ce8
version=4
version=4
opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/pistache-$1\.tar\.gz/ \
opts="mode=git, pgpmode=none, pretty=0.0.002+git%cd.%h" \
https://github.com/pistacheio/pistache/releases .*/v?(\d\S*)\.tar\.gz
https://github.com/pistacheio/pistache.git \
HEAD debian uupdate
Write
Preview
Markdown
is supported
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