Cohomology relative to a G-set and finiteness conditions